|
PdfDocumentAddFont Method (Font) |
Adds a system font to the pdf fonts collection.
Namespace:
SelectPdf
Assembly:
Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 24.1
Syntax public PdfFont AddFont(
Font font
)
Public Function AddFont (
font As Font
) As PdfFont
Parameters
- font
- Type: System.DrawingFont
The system font to be added to the fonts collection.
Return Value
Type:
PdfFontThe pdf font added to the fonts collection.
Remarks
If the font was already added, the method returns the existing font.
By default the font is embedded into the pdf document in order to support Unicode texts.
See Also