Click or drag to resize
Pdf Library for .NET

PdfFontCreateFromSystemFont Method

Overload List
 NameDescription
Public methodStatic memberCreateFromSystemFont(PdfSystemFont) Resolves the system font described by systemFont and creates a PdfFont. Equivalent to CreateFromSystemFont(String, Single, PdfFontStyle) with the descriptor's family / size / style.
Public methodStatic memberCode exampleCreateFromSystemFont(String, Single) Resolves a font installed on the host system by family name and creates a PdfFont. Loads the actual TrueType / OpenType file via PdfSystemFonts and subset-embeds it into the output document.
Public methodStatic memberCreateFromSystemFont(String, Single, PdfFontStyle) Resolves a system font by family name + style and creates a PdfFont. The font is subset-embedded into the output document.
Top
See Also