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.

C# | Visual Basic | Visual C++ |
public PdfFont Add( string fontFilename )
Public Function Add ( fontFilename As String ) As PdfFont
public: PdfFont^ Add( String^ fontFilename )

- fontFilename (String)
- The file name of the font to be added.

PdfFont
The font added to the collection.
The font added to the collection.
Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)