[]
DsPdfJS API / DestinationFitBV
Display the page designated by Destination#page, with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of its bounding box within the window. A null value for left specifies that the current value of that parameter is to be retained unchanged.
new DestinationFitBV(
om,pageIndex,left?):DestinationFitBV
Initializes a new instance of the DestinationFitBV class.
ObjectManager that controls the lifetime of the DestinationFitBV.
number
The target page index or PdfPage.
number
The left coordinate of the document window.
DestinationFitBV
Destination.constructor
new DestinationFitBV(
pageIndex,left?):DestinationFitBV
Initializes a new instance of the DestinationFitBV class.
number
The target page index or PdfPage.
number
The left coordinate of the document window.
DestinationFitBV
Destination.constructor
new DestinationFitBV(
om,page,left?):DestinationFitBV
Initializes a new instance of the DestinationFitBV class.
ObjectManager that controls the lifetime of the DestinationFitBV.
The target page index or PdfPage.
number
The left coordinate of the document window.
DestinationFitBV
Destination.constructor
new DestinationFitBV(
page,left?):DestinationFitBV
Initializes a new instance of the DestinationFitBV class.
The target page index or PdfPage.
number
The left coordinate of the document window.
DestinationFitBV
Destination.constructor
get id():
number
Gets the reference to the object.
number
get left():
number|null
Gets the left coordinate of the document window, if null then unchanged.
number | null
get om():
ObjectManager
Gets the owner ObjectManager instance.
get page():
PdfPage|null
Gets this destination's target PdfPage object. Returns null if the target page was specified by index.
PdfPage | null
get pageIndex():
number|null
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 | null
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