Class: Dest

Actions. Dest

A PDF Destination object, representing a location and fitting strategy.

new Dest(options)

Parameters:
Name Type Argument Description
options object <nullable>
A map of properties to initialize on the Dest object
Properties:
Name Type Description
page number Gets and sets the 1-based page number to go to.
fit string Gets the fit style (One of XYZ, FitBH, FitH, FitBV, FitV, FitR, FitB, Fit)
top number | undefined Gets the top of the destination rectangle
left number | undefined Gets the left hand side of the destination rectangle
bottom number | undefined Gets the bottom of the destination rectangle
right number | undefined Gets the right hand side of the destination rectangle
zoom number | undefined Gets the zoom at which to view the destination
name string | undefined Gets the name of the destination