ViewDestination Class Documentation
class ViewDestinationNamespace: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
Field Documentation
CViewDestination_NullValue
static CViewDestination_NullValueConstant used for "null" values in destination rectangles or zoom.
NULL_VALUE
static NULL_VALUENullValue
static NullValueMember Function Documentation
delete
synchronized void delete(Boolean disposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized void delete()Returns:
synchronized voidequals
boolean equals(Object rhs)Parameters
rhs: Object
Returns:
booleanfinalize
void finalize()Returns:
voidgetDestRect
Rect getDestRect()Returns:
RectThe destination rectangle.
getFitType
String getFitType()Returns:
StringThe fit type.
getPDFArray
PDFArray getPDFArray()Returns:
PDFArrayRetrieve the PDFObject representation of this object
getPageNumber
int getPageNumber()Returns:
intThe page number of the destination
getZoom
double getZoom()Returns:
doubleThe zoom factor for the destination.
setDestRect
void setDestRect(Rect ViewDestRect)Parameters
ViewDestRect: Rect
Returns:
voidSet the destination rectangle of the view.
setFitType
void setFitType(String ViewDestFitType)Parameters
ViewDestFitType: String
Returns:
voidSet the fit type for the view
setPageNumber
void setPageNumber(int ViewDestPageNum)Parameters
ViewDestPageNum: int
Returns:
voidSet the page number of the destination starting at 0
setZoom
void setZoom(double ViewDestZoomFactor)Parameters
ViewDestZoomFactor: double
Returns:
voidSet the zoom factor for the destination.
toString
String toString()Returns:
String