 |
PdfFontCreateFromSystemFont(PdfSystemFont) Method |
Namespace: SelectPdf.UniversalAssembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntaxpublic static PdfFont CreateFromSystemFont(
PdfSystemFont systemFont
)
Public Shared Function CreateFromSystemFont (
systemFont As PdfSystemFont
) As PdfFont
Parameters
- systemFont PdfSystemFont
- A system-font descriptor (family / size / style).
Return Value
PdfFontA new
PdfFont backed by the embedded system font.
Exceptions| Exception | Condition |
|---|
| PdfDocumentException | Thrown if the family is not installed or
its font file cannot be read. |
See Also