Skip to content

# PDFPageDirectDestination

Namespace: O2S.Components.PDF4NET.Destinations

Defines a destination to a PDF page in the current document.

    public class PDFPageDirectDestination : PDFPageDestination

Inheritance Object → PDFDestination → PDFPageDestination → PDFPageDirectDestination

## Constructors

### PDFPageDirectDestination()

Initializes a new PDFPageDirectDestination object.

    public PDFPageDirectDestination()

## Properties

### Bottom

Gets or sets the bottom coordinate.

    public double Bottom { get; set; }

Property Value

Double
Bottom coordinate of the page positioned at the bottom edge of the window.

Remarks

The bottom coordinate is used by PDFDestinationZoomMode.FitR zoom mode.

### Left

Gets or sets the left coordinate.

    public double Left { get; set; }

Property Value

Double
Left coordinate of the page positioned at the left edge of the window.

Remarks

These zoom modes use the left coordinate: PDFDestinationZoomMode.XYZ, PDFDestinationZoomMode.FitV, PDFDestinationZoomMode.FitR, PDFDestinationZoomMode.FitBV

### Page

Gets or sets the page.

    public PDFPage Page { get; set; }

Property Value

PDFPage
A PDFPage that represent the page to be displayed.

### Right

Gets or sets the right coordinate.

    public double Right { get; set; }

Property Value

Double
Right coordinate of the page positioned at the right edge of the window.

Remarks

The right coordinate is used by PDFDestinationZoomMode.FitR zoom mode.

### Top

Gets or sets the top coordinate.

    public double Top { get; set; }

Property Value

Double
Top coordinate of the page positioned at the top edge of the window.

Remarks

These zoom modes use the top coordinate: PDFDestinationZoomMode.XYZ, PDFDestinationZoomMode.FitH, PDFDestinationZoomMode.FitR, PDFDestinationZoomMode.FitBH

### Type

Gets the destination type.

    public PDFDestinationType Type { get; }

Property Value

PDFDestinationType
A PDFDestinationType that represents the type of the destination.

### Zoom

Gets or sets the zoom.

    public double Zoom { get; set; }

Property Value

Double
Zoom value (percentage) applied to destination page.

Remarks

A 0 zoom means the current zoom value does not change.

### ZoomMode

Gets or sets the zoom mode.

    public PDFDestinationZoomMode ZoomMode { get; set; }

Property Value

PDFDestinationZoomMode
A PDFDestinationZoomMode that represents how the destination page is zoomed when the destination is executed.