Font Constructor (String, Single, Boolean, Boolean, Boolean, Boolean)
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
Initializes a new Bytescout.PDF.Font using a specified properties.
Namespace:Bytescout.PDFAssembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public Font( string fontName, float emSize, bool bold, bool italic, bool underline, bool strikeout )
Parameters
- fontName
- Type: SystemString
The name of the font. - emSize
- Type: SystemSingle
The em-size, in points, of the font. - bold
- Type: SystemBoolean
If set to true, the initialized font will be bold. - italic
- Type: SystemBoolean
If set to true, the initialized font will be italic. - underline
- Type: SystemBoolean
If set to true, the initialized font will be underlined. - strikeout
- Type: SystemBoolean
If set to true, the initialized font will be stroked out.
See Also