interface DestType {
    checkObjectIsNull: () => Promise<boolean>;
    destroy: () => Promise<void>;
    getPageIndex: (doc: DocType) => Promise<number>;
    getPageObjNum: (doc: DocType) => Promise<number>;
    getPDFObject: () => Promise<null | PDFObjectType>;
    getZoomMode: () => Promise<number>;
    options?: Options;
}

Implemented by

Properties

checkObjectIsNull: () => Promise<boolean>

Check pdf object is null.

Type declaration

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

      • The result of check.
destroy: () => Promise<void>

Destroys a PDF destination object.

Type declaration

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

getPageIndex: (doc: DocType) => Promise<number>

Gets zero-based index of the page in the document.

Type declaration

    • (doc: DocType): Promise<number>
    • Parameters

      Returns Promise<number>

      • The zero-based index of the page referred to.
getPageObjNum: (doc: DocType) => Promise<number>

Gets the object number of the page.

Type declaration

    • (doc: DocType): Promise<number>
    • Parameters

      Returns Promise<number>

      • The object number of the page.
getPDFObject: () => Promise<null | PDFObjectType>

Gets the PDF object of the destination.

Type declaration

getZoomMode: () => Promise<number>

Gets the zoom mode of the destination.

Type declaration

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

      • The zoom mode of the destination.
options?: Options