Live Chat Icon For mobile
Live Chat Icon

How to draw strings vertically on a Bitmap

Platform: ASP.NET| Category: GDI+

...
dim sFormat As New StringFormat()  
sFormat.FormatFlags = StringFormatFlags.DirectionVertical  
...
g.DrawString('Syncfusion', new Font('Arial',16,FontStyle.Italic or FontStyle.Bold ),SystemBrushes.WindowText, new PointF(2,2) , sFormat )  

...
StringFormat sFormat = new StringFormat()  ;
sFormat.FormatFlags = StringFormatFlags.DirectionVertical  ;
...
g.DrawString('Syncfusion', new Font('Arial',16,FontStyle.Italic|FontStyle.Bold ),SystemBrushes.WindowText, new PointF(2,2) ,sFormat)  ;
...

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.