PDFix SDK  7.2.0
Loading...
Searching...
No Matches
PdfViewDestination Struct Referenceabstract

PdfViewDestination class. More...

#include <pdfix.h>

Public Member Functions

virtual int GetPageNum (PdfDoc *doc) const =0
 Get the destination page number. More...
 
virtual PdfDestFitType GetFitType () const =0
 Get the destination fit type. More...
 
virtual void GetBBox (PdfRect *bbox) const =0
 Returns the destination page number. More...
 
virtual float GetZoom () const =0
 Returns the destination page number. More...
 
virtual PdsArrayGetObject ()=0
 Returns the destination page number. More...
 

Detailed Description

PdfViewDestination class.

A PdfViewDestination represents a particular view of a page in a document. It contains a reference to a page, a rectangle on that page, and information specifying how to adjust the view to fit the window's size and shape. It corresponds to a PDF Dest array (see Named Destinations in Section 8.2, Document-Level Navigation, in the PDF Reference) and can be considered a special form of a PdfAction. PDViewDest provides a number of methods to get or set the attributes describing the location and size of the view, including the page, rectangle, and fit style.

Member Function Documentation

◆ GetBBox()

virtual void PdfViewDestination::GetBBox ( PdfRect bbox) const
pure virtual

Returns the destination page number.

Parameters
reasonReason for the signing.
Returns
true if was set successfully, false otherwise.

◆ GetFitType()

virtual PdfDestFitType PdfViewDestination::GetFitType ( ) const
pure virtual

Get the destination fit type.

Returns
one of the PdfDestFitType values

◆ GetObject()

virtual PdsArray * PdfViewDestination::GetObject ( )
pure virtual

Returns the destination page number.

Returns
true if was set successfully, false otherwise.

◆ GetPageNum()

virtual int PdfViewDestination::GetPageNum ( PdfDoc doc) const
pure virtual

Get the destination page number.

Parameters
docTarget document in which the page number will be resolved.
Returns
the destination page number

◆ GetZoom()

virtual float PdfViewDestination::GetZoom ( ) const
pure virtual

Returns the destination page number.

Parameters
reasonReason for the signing.
Returns
true if was set successfully, false otherwise.