 |
PdfFontCollectionAdd(String) Method |
Adds a TrueType / OpenType font loaded from a file. The font is subset-embedded
into the output document — use this path for PDF/A / PDF/X output from scratch.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfFont Add(
string fontFilename
)
Public Function Add (
fontFilename As String
) As PdfFont
Parameters
- fontFilename String
- Path to a .ttf / .otf file.
Return Value
PdfFontThe
PdfFont wrapper for the added font.
See Also