Creates a system font with size and style from font data and adds it to PDF document
Namespace: HiQPdf
Assembly: HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax
public PdfFont CreateFontFromData( byte[] fontData, float fontSize, FontStyle fontStyle )
Parameters
- fontData
- Type: SystemByte
The font data - fontSize
- Type: SystemSingle
The font size in points - fontStyle
- Type: System.DrawingFontStyle
The font style
Return Value
Type: PdfFontThe PDF font
See Also