Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pdf sharp font style Bold,Italic and Underline together

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

Thanks

like image 741
Shahdat Avatar asked Jul 21 '12 07:07

Shahdat


1 Answers

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 ;
like image 73
Henk Holterman Avatar answered Oct 23 '22 03:10

Henk Holterman