c# - Multiple Fontstyles -


is possible create new font pragmatically fontstyle.bold , fontstyles.oblique?

although fontstyles.oblique isn't recognized method me (import system?) :(

if want set font both bold , italic (i.e. both). can use

fontstyle newfontstyle = new fontstyle(); newfontstyle = fontstyle.regular; newfontstyle = fontstyle.bold | fontstyle.italic; 

i hope helps.

note. assuming using winforms.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -