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

Implemented by

Properties

destroy: () => Promise<void>

销毁 PDFName 对象。

Type declaration

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

      当对象被销毁时解析的 Promise。

getString: () => Promise<string>

获取 PDF Name 对象的字符串表示形式。

Type declaration

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

      一个 Promise,它解析为表示当前 FPDObject 值的字符串。

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

检查另一个 PDFName 是否与当前实例完全相同。

Type declaration

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

      • otherPdfName: PDFNameType

        要比较的第二个 FPD Name 实例。

      Returns Promise<boolean>

      如果两者完全相同则返回 true,否则返回 false的 Promise。

options: Options