FontFromFile Method (String, Single, 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
Creates a Bytescout.PDF.Font from the specified file.
Namespace:Bytescout.PDFAssembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public static Font FromFile( string fileName, float emSize, bool underline, bool strikeout )
Parameters
- fileName
- Type: SystemString
A string that contains the name of the file from which to create the Bytescout.PDF.Font. - emSize
- Type: SystemSingle
The em-size, in points, of the font. - 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.
Return Value
Type: FontThe Bytescout.PDF.Font this method creates.
See Also