|
PdfDocumentAddFont Method (String) |
Adds a system font to the pdf fonts collection. The font is loaded from the specified file.
Namespace:
SelectPdf
Assembly:
Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 24.1
Syntax public PdfFont AddFont(
string fontFileName
)
Public Function AddFont (
fontFileName As String
) As PdfFont
Parameters
- fontFileName
- Type: SystemString
The file name of the font to be added.
Return Value
Type:
PdfFontThe pdf font added to the fonts collection.
Remarks
If the font was already added, the method returns the existing pdf font.
See Also