Implements

Constructors

  • No longer use 'new' to create, but use create instead.

    Parameters

    Returns Dest

    const dest = await Dest.create();
    

Properties

options: Options

Methods

  • Check pdf object is null.

    Returns Promise<boolean>

    • The result of check.
  • Destroys a PDF destination object.

    Returns Promise<void>

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

    Parameters

    Returns Promise<number>

    • The zero-based index of the page referred to.
  • Gets the object number of the page.

    Parameters

    Returns Promise<number>

    • The object number of the page.
  • Gets the zoom mode of the destination.

    Returns Promise<number>

    • The zoom mode of the destination.
  • Creates a PDF destination object from a PDF object.

    Parameters

    Returns Promise<DestType>

    const dest = await Dest.create();