interface PDFNameType {
    destroy: () => Promise<void>;
    getString: () => Promise<string>;
    identical: (otherPdfName: PDFNameType) => Promise<boolean>;
    options: Options;
}

Implemented by

Properties

destroy: () => Promise<void>

Destroys the PDFName object.

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

      A promise that resolves when the object is destroyed.

getString: () => Promise<string>

Retrieves the string representation of the PDF Name object.

Type declaration

    • (): Promise<string>
    • Returns Promise<string>

      A promise that resolves to a string representing the value of the current FPDObject.

identical: (otherPdfName: PDFNameType) => Promise<boolean>

Checks if another PDFName is identical to the current instance.

Type declaration

    • (otherPdfName: PDFNameType): Promise<boolean>
    • Parameters

      • otherPdfName: PDFNameType

        The second FPD Name instance to compare.

      Returns Promise<boolean>

      A promise that resolves to true if the two are identical; otherwise, false.

options: Options