Adds a system font to the fonts collection. The font is created from the specified font data with the specified style.
If the font was already added the method returns the existing font.
Namespace: Winnovative
Assembly: wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.0.0.0
Syntax
Parameters
- fontData
- Type:System.Byte[]
The data of the font to be added. - fontSizePoints
- Type: System.Single
The font size in points. - fontStyle
- Type: System.Drawing.FontStyle
The style of the font to be added.
Return Value
Type: PdfFontThe font added to the collection.
See Also