API Documentation for Destination

NoPoDoFo Destination

A destination can be either a Page or an Action.

class Destination {
  new(page: Page, fit: NPDFDestinationFit): Destination
  new(page: Page, fit: NPDFDestinationFit, fitArg: number): Destination
  new(page: Page, left: number, top: number, zoom: number): Destination
  readonly page: Page
  readonly type: NPDFDestinationType
}

Constructors


Create a new destination. The destination is to the Page with a fit mode as NPDFDestinationFit.

new(page: Page, fit: NPDFDestinationFit): Destination

Create a new destination. The destination is to the Page with a fit mode as NPDFDestinationFit and fit args.

new(page: Page, fit: NPDFDestinationFit, fitArg: number): Destination

Create a new destination. The destination is to the Page with specific left and top coordinates and a zoom factor.

new(page: Page, left: number, top: number, zoom: number): Destination

Properties


page

The page which is the destination.

type

NPDFDestinationType; the type of destination.

Methods


results matching ""

    No results matching ""