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.
public abstract class PdfBasicFont : PdfContentResource
Public MustInherit Class PdfBasicFont Inherits PdfContentResource
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 static PdfBasicFont FromDictionary(PdfDictionary dictionary)
Public Shared Function FromDictionary(dictionary As PdfDictionary) As PdfBasicFont
A PdfDictionary that represents a font as specified in PDF Specification ISO 32000-1:2008, section '9.5 Introduction to Font Data Structures'.
An instance of a PdfBasicFont or null.
If PdfBasicFont was already created from the same
dictionary, that PdfBasicFont instance is returned.
This method provides a way to create various PdfBasicFonts which are currently not available in GemBox.Pdf.
dictionary is null.
Gets the PdfDocument associated with this PdfContentResource or null if no PdfDocument is associated with this PdfContentResource.
(Inherited from PdfContentResource)
(Optional; PDF 1.4) A metadata stream containing metadata for the component.
(Inherited from PdfObject)