FontCollectionAdd(Byte, Single, FontStyle) Method
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: WinnovativeAssembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
public PdfFont Add(
byte[] fontData,
float fontSizePoints,
FontStyle fontStyle
)
Public Function Add (
fontData As Byte(),
fontSizePoints As Single,
fontStyle As FontStyle
) As PdfFont
- fontData Byte
- The data of the font to be added.
- fontSizePoints Single
- The font size in points.
- fontStyle FontStyle
- The style of the font to be added.
PdfFontThe font added to the collection.