[]
DsPdfJS API / DestinationFitRProperties
DestinationFitRProperties =
DestinationPropertiesBase&object
Display the page designated by DestinationPropertiesBase#page, with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and top entirely within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the rectangle within the window in the other dimension.
optionalbounds:Rect
The rectangle to fit.
It should be specified relative to the top left corner if page specified relative using DestinationPropertiesBase#page or relative to the bottom left corner if page specified using DestinationPropertiesBase#pageIndex. See Destination description for details.
type:
"fitr"