FontCollectionAdd(String) Method |
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.PdfCreatorAssembly: epdfcreator (in epdfcreator.dll) Version: 21.1.0
Syntaxpublic PdfFont Add(
string fontFilename
)
Public Function Add (
fontFilename As String
) As PdfFont
Parameters
- fontFilename String
- The file name of the font to be added.
Return Value
PdfFontThe font added to the collection.
See Also