ViewDestination Class Documentation
classViewDestinationNamespace:com::datalogics::PDFL
Detailed Description
Represents a particular view of a page in a document. A destination describes a place in the PDF document where the user will be taken in response to clicking a hyperlink. The destination defines where a bookmark or hyperlink points to.
The ViewDestination contains a reference to a page, a place (rectangle) on that page, and information specifying how to adjust the view to fit the window's size and shape.
Referenced by
Uses types
Constructor & Destructor Documentation
ViewDestination
Parameters
General purpose constructor: construct with all elements
Member Function Documentation
DisposeChildren
voidDisposeChildren()Returns:
void[static initializer]
static void[static initializer]()delete
synchronized voiddelete(Booleandisposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized voiddelete()Returns:
synchronized voidequals
booleanequals(Objectrhs)Parameters
rhs: Object
Returns:
booleanfinalize
voidfinalize()Returns:
voidgetDestRect
RectgetDestRect()Returns:
RectThe destination rectangle.
getFitType
StringgetFitType()Returns:
StringThe fit type.
getPDFArray
PDFArraygetPDFArray()Returns:
PDFArrayRetrieve the PDFObject representation of this object
getPageNumber
intgetPageNumber()Returns:
intThe page number of the destination
getZoom
doublegetZoom()Returns:
doubleThe zoom factor for the destination.
sameTypeEquals
booleansameTypeEquals(ViewDestinationarg0)Parameters
arg0: ViewDestination
Returns:
booleansetDestRect
voidsetDestRect(RectViewDestRect)Parameters
ViewDestRect: Rect
Returns:
voidSet the destination rectangle of the view.
setFitType
voidsetFitType(StringViewDestFitType)Parameters
ViewDestFitType: String
Returns:
voidSet the fit type for the view
setPageNumber
voidsetPageNumber(intViewDestPageNum)Parameters
ViewDestPageNum: int
Returns:
voidSet the page number of the destination starting at 0
setZoom
voidsetZoom(doubleViewDestZoomFactor)Parameters
ViewDestZoomFactor: double
Returns:
voidSet the zoom factor for the destination.
toString
StringtoString()Returns:
String