Home » FAQ » ASP.NET » GDI+ » I am using GDI+ to write on a bitmap. I know how to make font Italic/Bold. What should be done to apply both Italic and Bold
VB.NET
dim fntFont as Font = new Font('Arial',16,FontStyle.Italic|FontStyle.Bold )
C#
Font fntFont =new Font('Arial',16,FontStyle.Italic|FontStyle.Bold ) ;
For more details refer FontStyle Enumeration
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with