Array with destination information. dest[0] // internal pdf page reference. dest[1] // contains destination view fit type name: { name: 'XYZ' } - Destination specified as top-left corner point and a zoom factor (the lower-left corner of the page is the origin of the coordinate system (0, 0)). { name: 'Fit' } - Fits the page into the window { name: 'FitH' } - Fits the widths of the page into the window { name: 'FitV' } - Fits the height of the page into a window. { name: 'FitR' } - Fits the rectangle specified by its top-left and bottom-right corner points into the window. { name: 'FitB' } - Fits the rectangle containing all visible elements on the page into the window. { name: 'FitBH' } - Fits the width of the bounding box into the window. { name: 'FitBV' } - Fits the height of the bounding box into the window. dest[2] // x position offset dest[3] // y position offset (note, the lower-left corner of the page is the origin of the coordinate system (0, 0)) dest[4] // can be null, contains bounding box width when view name is FitR, contains scale when view name is XYZ, dest[5] // can be null, contains bounding box height when view name is FitR
Initial open action.