DocumentAddFont(Font) Method |
Adds a system font to the fonts collection. If the font was already added
the method returns the existing font. By default the font
is embedded in the PDF document in order to support Unicode texts.
Namespace: ExpertPdf.HtmlToPdf.PdfDocumentAssembly: ephtmltopdf (in ephtmltopdf.dll) Version: 21.1.0
Syntaxpublic PdfFont AddFont(
Font font
)
Public Function AddFont (
font As Font
) As PdfFont
Parameters
- font Font
- The font to be added to the collection.
Return Value
PdfFontThe font added to the collection.
See Also