ViewDestination Class Documentation
class ViewDestination : SystemIDisposableNamespace:Datalogics::PDFL
- Inherits from:
SystemIDisposable
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
Constructor & Destructor Documentation
ViewDestination
Parameters
General purpose constructor: construct with all elements
Exceptions
- ApplicationException —
fitType could not be converted to a legal fit type atom.
Property Documentation
DestRect
Rect DestRect[get, set]The destination rectangle.
Coordinates with a value of NullValue indicate that the corresponding coordinate is not specified in the destination.
FitType
string FitType[get, set]The fit type describing how the destination page is displayed.
The fit type determines how the page content is fitted into the window. Valid fit types are: "XYZ", "Fit", "FitH", "FitV", "FitR", "FitB", "FitBH", and "FitBV".
Exceptions
- ApplicationException —
fitType could not be converted to a legal fit type atom.
PDFArray
PDFArray PDFArray[get]Retrieve the PDFArray representation of this ViewDestination.
PageNumber
int PageNumber[get, set]The page number of the destination.
Zoom
double Zoom[get, set]The zoom factor for the destination.
A value of NullValue indicates that the zoom factor is not specified.
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
Dispose
void Dispose()Returns:
voidEquals
override bool Equals(object obj)Parameters
obj: object
Returns:
override boolToString
override string ToString()Returns:
override stringA formatted string describing this ViewDestination.
Return a string representation of the ViewDestination.
The string includes the page number, fit type, destination rectangle, and zoom factor.