RemoteDestination Class Documentation

class RemoteDestination

Namespace: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.

Constructor & Destructor Documentation

RemoteDestination

RemoteDestination(Document doc, int pageNum, String fitType, Rect r, double zoom)

Parameters

doc: Document

Document that the RemoteDestination will be created in.

pageNum: int

Page number of the page in the remote document to display.

fitType: String

Fit Type must be: "XYZ", "Fit", "FitH", "FitV", "FitR", "FitB", "FitBH", or "FitBV".

r: Rect

Target Rectangle

zoom: double

Zoom level

Construct a RemoteDestination.

Member Function Documentation

delete

synchronized void delete(Boolean disposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized void delete()

Returns:

synchronized void

equals

boolean equals(Object rhs)

Parameters

rhs: Object

Returns:

boolean

finalize

void finalize()

Returns:

void

getDestRect

Rect getDestRect()

Returns:

Rect

The 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:

String

The 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:

double

Constant used for "null" values in destination rectangles or zoom.

getPDFObject

PDFObject getPDFObject()

Returns:

PDFObject

The underlying PDFObject for this RemoteDestination.

Retrieve the PDFObject representation of this Remote Destination.

getPageNumber

int getPageNumber()

Returns:

int

The zero-based page number for this destination in the remote document.

The page number of the destination.

getZoom

double getZoom()

Returns:

double

The 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:

void

Set the rectangle for the destination.

setFitType

void setFitType(String remoteDestFitType)

Parameters

remoteDestFitType: String

Returns:

void

Set the fit type for the destination.

setPageNumber

void setPageNumber(int remoteDestPageNum)

Parameters

remoteDestPageNum: int

Returns:

void

Set the page number of the destination (page numbers start at 0)

setZoom

void setZoom(double zoomFactor)

Parameters

zoomFactor: double

Returns:

void

Set the zoom factor for the destination.

toString

String toString()

Returns:

String

A string describing the page number, fit type, destination rectangle, and zoom factor.

Returns a string representation of this RemoteDestination.