ViewDestination Class Documentation

classViewDestination : SystemIDisposable

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

Constructor & Destructor Documentation

ViewDestination

ViewDestination(ViewDestinationrhs, InternalConstructsignifier)

Parameters

signifier: InternalConstruct

ViewDestination

ViewDestination(Documentdoc, intpageNum, stringfitType, Rectr, doublezoom)

Parameters

doc: Document

Containing document

pageNum: int

Target page number

fitType: string

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

r: Rect

Target rectangle

zoom: double

Zoom level

General purpose constructor: construct with all elements

~ViewDestination

~ViewDestination()

Property Documentation

DestRect

RectDestRect[get, set]

FitType

stringFitType[get, set]

PDFArray

PDFArrayPDFArray[get]

PageNumber

intPageNumber[get, set]

Zoom

doubleZoom[get, set]

Member Function Documentation

Dispose

voidDispose()

Returns:

void

DisposeChildren

voidDisposeChildren()

Returns:

void

Equals

override boolEquals(objectobj)

Parameters

obj: object

Returns:

override bool

ToString

override stringToString()

Returns:

override string