FontCollectionAdd Method (String) |
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:
ExpertPdf.HtmlToPdf.PdfDocument
Assembly:
ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax public PdfFont Add(
string fontFilename
)
Public Function Add (
fontFilename As String
) As PdfFont
Parameters
- fontFilename
- Type: SystemString
The file name of the font to be added.
Return Value
Type:
PdfFontThe font added to the collection.
See Also