 |
PdfDocumentFonts Property |
Gets the document-level font collection. Use
doc.Fonts.Add(...) to register
fonts (standard, CJK, or embedded TrueType) that can be retrieved later by index
and reused across
PdfTextElement instances. For PDF/A output from
scratch, add a TrueType font via
Add(String) or
Add(Byte) — the 14 built-in
PdfStandardFont values are not allowed under PDF/A and will
throw a
PdfDocumentException when used.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfFontCollection Fonts { get; }Public ReadOnly Property Fonts As PdfFontCollection
Get
Property Value
PdfFontCollection
See Also