RemoteDestination Class Documentation
class RemoteDestinationNamespace:com::datalogics::PDFL
Detailed Description
A view of a page contained in a separate document. A RemoteDestination is not the same as a ViewDestination; the two objects are not interchangeable.
Referenced by
Uses types
Constructor & Destructor Documentation
RemoteDestination
Parameters
Construct a RemoteDestination.
Member 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 rectangle defining the area of the page to display. Fields not applicable to the current fit type will contain NullValue.
The destination rectangle.
getFitType
String getFitType()Returns:
StringThe fit type string (e.g., "XYZ", "Fit", "FitH", "FitV", "FitR", "FitB", "FitBH", or "FitBV").
The fit type for the destination.
getNULL_VALUE
static double getNULL_VALUE()Returns:
doubleConstant used for "null" values in destination rectangles or zoom.
getPDFObject
PDFObject getPDFObject()Returns:
PDFObjectThe underlying PDFObject for this RemoteDestination.
Retrieve the PDFObject representation of this Remote Destination.
getPageNumber
int getPageNumber()Returns:
intThe zero-based page number for this destination in the remote document.
The page number of the destination.
getZoom
double getZoom()Returns:
doubleThe zoom level for the destination, or NullValue if not specified.
The zoom factor for the destination.
setDestRect
void setDestRect(Rect destRect)Parameters
destRect: Rect
Returns:
voidSet the rectangle for the destination.
setFitType
void setFitType(String remoteDestFitType)Parameters
remoteDestFitType: String
Returns:
voidSet the fit type for the destination.
setPageNumber
void setPageNumber(int remoteDestPageNum)Parameters
remoteDestPageNum: int
Returns:
voidSet the page number of the destination (page numbers start at 0)
setZoom
void setZoom(double zoomFactor)Parameters
zoomFactor: double
Returns:
voidSet the zoom factor for the destination.
toString
String toString()Returns:
StringA string describing the page number, fit type, destination rectangle, and zoom factor.
Returns a string representation of this RemoteDestination.