Click or drag to resize

PdfBasicFont Class

Represents a base class for a font contained in a PdfDocument. A font is represented in PDF as a dictionary specifying the type of font, its PostScript name, its encoding, and information that can be used to provide a substitute when the font program is not available. Optionally, the font program can be embedded as a stream object in the PDF file.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.Pdf.ContentPdfContentResource
      SautinSoft.Pdf.Content.TextPdfBasicFont

Namespace: SautinSoft.Pdf.Content.Text
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.11.10
Syntax
public abstract class PdfBasicFont : PdfContentResource

The PdfBasicFont type exposes the following members.

Methods
 NameDescription
Public methodStatic memberFromDictionary Gets or creates a PdfBasicFont from the specified PdfDictionary that represents a font as specified in PDF Specification ISO 32000-1:2008, section '9.5 Introduction to Font Data Structures'.
Public methodToString Returns a String that represents this PdfBasicFont instance.
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Top
See Also