FontFromStream Method (Stream, 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 data stream.
Namespace:Bytescout.PDFAssembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public static Font FromStream( Stream stream, float emSize, bool underline, bool strikeout )
Parameters
- stream
- Type: System.IOStream
A System.IO.Stream that contains the data for this 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