DocumentAddFont(Font, Boolean) Method
Adds a system font to the fonts collection. If the font was already added
the method returns the existing font. The embedFont property indicates if the added font
will be embedded into the PDF document.
Namespace: WinnovativeAssembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
public PdfFont AddFont(
Font font,
bool embedFont
)
Public Function AddFont (
font As Font,
embedFont As Boolean
) As PdfFont
- font Font
- Font for adding.
- embedFont Boolean
- When true the font will be embedded in the PDF document.
PdfFontThe font added to the collection.