 |
PdfFontCollectionAdd(PdfSystemFont) Method |
Resolves the system font described by
systemFont to its
installed TrueType / OpenType file, subset-embeds it into the document, and returns
the resulting
PdfFont.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfFont Add(
PdfSystemFont systemFont
)
Public Function Add (
systemFont As PdfSystemFont
) As PdfFont
Parameters
- systemFont PdfSystemFont
- A system-font descriptor (family / size / style).
Return Value
PdfFontThe
PdfFont wrapper for the added font.
Exceptions| Exception | Condition |
|---|
| PdfDocumentException | Thrown if the family is not installed on
the host or its font file cannot be read. |
See Also