[]
Display the page designated by Destination#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.
new DestinationFitR(
om,
pageIndex,
bounds): DestinationFitR;
Initializes a new instance of the DestinationFitR class.
ObjectManager that controls the lifetime of the DestinationFitR.
number
The target page index.
The rectangle to fit relative to the bottom left corner.
DestinationFitR
Destination.constructor
new DestinationFitR(pageIndex, bounds): DestinationFitR;
Initializes a new instance of the DestinationFitR class.
number
The target page index.
The rectangle to fit relative to the bottom left corner.
DestinationFitR
Destination.constructor
new DestinationFitR(
om,
page,
bounds): DestinationFitR;
Initializes a new instance of the DestinationFitR class.
ObjectManager that controls the lifetime of the DestinationFitR.
The target PdfPage.
The rectangle to fit relative to the top left corner.
DestinationFitR
Destination.constructor
new DestinationFitR(page, bounds): DestinationFitR;
Initializes a new instance of the DestinationFitR class.
The target PdfPage.
The rectangle to fit relative to the top left corner.
DestinationFitR
Destination.constructor
new DestinationFitR(
om,
structElement,
pdfBounds): DestinationFitR;
Initializes a new instance of the DestinationFitR class.
ObjectManager that controls the lifetime of the DestinationFitR.
The StructElement used to obtain the target page.
The rectangle to fit relative to the bottom left corner.
DestinationFitR
Destination.constructor
new DestinationFitR(structElement, pdfBounds): DestinationFitR;
Initializes a new instance of the DestinationFitR class.
The StructElement used to obtain the target page.
The rectangle to fit relative to the bottom left corner.
DestinationFitR
Destination.constructor
get bounds(): Rect;
Gets the rectangle to fit.
If the target page of this destination was specified as an index (see Destination#pageIndex), then this property returns a rectangle relative to the bottom left corner. If the target page was specified as a page object (see Destination#page), then this property returns a rectangle relative to the top left corner. See Destination description for details.
get id(): number;
Gets the reference to the object.
number
get om(): ObjectManager;
Gets the owner ObjectManager instance.
get page(): PdfPage;
Gets this destination's target PdfPage object. Returns null if the target page was specified by index.
get pageIndex(): number;
Gets the index of this destination's target page. Returns null if the target page was specified as a PdfPage object.
Note that if this property is not null, then any Y coordinate is relative to the bottom left corner (see Destination description for details).
number
get pdfBounds(): Rect;
Gets the rectangle to fit relative to the bottom left corner.
free(): void;
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
rebind(omTo): void;
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void