Search code examples
c#fontsfont-face

Why is the fontstyle enumeration in C# missing bold italic?


Possible Duplicate:
c# Make font italic and bold

How do i set the font style of a font to bold italic?

I am unable to set the fontstyle of font to bold italic.. where and how can i set it >?


Solution

  • FontStyle is a Flags enumeration. You send bold and italic by or'ing them together: FontStyle.Bold | FontStyle.Italic