Dim format1 As New StringFormat(StringFormatFlags.NoClip)
Dim format2 As New StringFormat(format1)
format1.LineAlignment = StringAlignment.Near
format1.Alignment = StringAlignment.Center
format2.LineAlignment = StringAlignment.Center
format2.Alignment = StringAlignment.Far
e.Graphics.DrawString(FormatNumber(DataGridView1.Rows(0).Cells(1).Value.ToString, 2, TriState.False), Pismo5, Brushes.Black, 600, 500, format2)
|