Click or drag to resize

PdfFonts Class

Provides enumeration support for PdfFontFamily and PdfFontFace objects.
Inheritance Hierarchy
SystemObject
  SautinSoft.Pdf.ContentPdfFonts

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.19
Syntax
public static class PdfFonts

The PdfFonts type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberStandardFontFaces Gets the collection of PdfFontFace objects that represent the PDF standard Type 1 fonts.
Public propertyStatic memberStandardFontFamilies Gets the collection of PdfFontFamily objects that represent the PDF standard Type 1 fonts.
Public propertyStatic memberSystemFontFaces Gets the collection of PdfFontFace objects from the default system font location.
Public propertyStatic memberSystemFontFamilies Gets the collection of PdfFontFamily objects from the default system font location.
Top
Methods
 NameDescription
Public methodStatic memberGetFontFaces(String) Returns the collection of PdfFontFace objects from a string value that represents the location of the fonts.
Public methodStatic memberGetFontFaces(String, String)

Returns the collection of PdfFontFace objects embedded as resources in the specified assembly at the specified location.

Read the Remarks for details about the arguments of the GetFontFaces(String, String) method for desktop and web applications.

Public methodStatic memberGetFontFamilies(String) Returns the collection of PdfFontFamily objects from a string value that represents the location of the fonts.
Public methodStatic memberGetFontFamilies(String, String)

Returns the collection of PdfFontFamily objects embedded as resources in the specified assembly at the specified location.

Read the Remarks for details about the arguments of the GetFontFamilies(String, String) method for desktop and web applications.

Top
Remarks
Custom font location is usually used in medium trust environments to bypass file system operations restrictions imposed for file locations that are not under the application's jurisdiction.
See Also