DocumentAddFont(String) Method
Adds a system font to the fonts collection. The font is created from the specified file.
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 AddFont(
string fontFilename
)
Public Function AddFont (
fontFilename As String
) As PdfFont
- fontFilename String
- The file name of the font to be added.
PdfFontThe font added to the collection.