VB.NET
...
Dim sFormat As New StringFormat()
sFormat.Alignment = StringAlignment.Far
...
g.DrawString('Syncfusion', New Font('Arial', 16, FontStyle.Italic), SystemBrushes.WindowText, New PointF(2, 2), sFormat)
......
C#
...
StringFormat sFormat = new StringFormat() ;
sFormat.Alignment = StringAlignment.Far;
...
g.DrawString('Syncfusion', new Font('Arial', 16, FontStyle.Italic), SystemBrushes.WindowText, new PointF(2, 2), sFormat) ;
......
Share with