Shahdat
Shahdat

Reputation: 5483

Pdf sharp font style Bold,Italic and Underline together

Have any way set font style ItalicUnderline or BoldItalicUnderline? enter image description here

Thanks

Upvotes: 10

Views: 9505

Answers (1)

Henk Holterman
Henk Holterman

Reputation: 273264

XFontStyle is an enum type. You can use bitwise logic to combine values.

const XFontStyle ItalicUnderline = XFontStyle.Italic | XFontStyle.Underline ;

const XFontStyle BoldItalicUnderline = XFontStyle.Bold | XFontStyle.Italic | XFontStyle.Underline ;

Upvotes: 17

Related Questions