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
Post a Comment