DsPdfJS API - v9.1.0
    Preparing search index...

    Class FontHandler

    Represents and manages a Font used in a PdfDocument.

    Hierarchy (View Summary)

    Index

    Accessors

    • set format(value: PdfFontFormat | null): void

      Gets or sets the format used to represent the font in a document. If "null" (the default), PdfDocument#pdfFontFormat is used. Note that this property does not affect the 14 standard PDF fonts, those are always encoded as Type1.

      Parameters

      Returns void

    • get id(): number

      Gets the reference to the object.

      Returns number

    • get pdfFontFormat(): PdfFontFormat | null

      Gets or sets the format used to represent the font in a document. If "null" (the default), PdfDocument#pdfFontFormat is used. Note that this property does not affect the 14 standard PDF fonts, those are always encoded as Type1.

      Returns PdfFontFormat | null

    • get usedInDocument(): boolean

      Gets a value indicating whether the current font is actually used in the document.

      Returns boolean

    Methods

    • Detaches the object from the ObjectManager and deallocates its memory, if possible.

      Returns void