PDFPageNumberDestination¶
Namespace: O2S.Components.PDF4NET.Destinations
Defines a destination to a PDF page identified by its page number.
Inheritance Object → PDFDestination → PDFPageDestination → PDFPageNumberDestination
Remarks
The destination page can be located in the current document or in a remote document.
Constructors¶
PDFPageNumberDestination()¶
Initializes a new PDFPageNumberDestination object.
Properties¶
Bottom¶
Gets or sets the bottom coordinate.
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.
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
PageNumber¶
Gets or sets the page number.
Property Value
Int32
The number identifying the PDF page in the document.
Exceptions
ArgumentOutOfRangeException
Thrown when the value is less than 0.
Remarks
First page in the document is 0.
Right¶
Gets or sets the right coordinate.
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.
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.
Property Value
PDFDestinationType
A PDFDestinationType that represents the type of the destination.
Zoom¶
Gets or sets the zoom.
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.
Property Value
PDFDestinationZoomMode
A PDFDestinationZoomMode that represents how the destination page is zoomed when the destination is executed.