От: | parapet | ||
Дата: | 07.03.07 18:50 | ||
Оценка: |
System.Drawing.SizeF textSize = gr.MeasureString(txt, fontDlg.Font, workWidth);
int count = Convert.ToInt32(textSize.Height) / workHeight;
if (Convert.ToInt32(textSize.Width) % workHeight > 0)
count++;