PdfOpenActionOptions
OfficeIMO.Pdf
Defines the initial destination a PDF viewer should open when displaying a generated document.
Inheritance
- object
- PdfOpenActionOptions
Remarks
Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property PdfCreateOptions.OpenAction
Constructors
public PdfOpenActionOptions(int pageNumber = 1, double? destinationTop = null, PdfOpenActionDestinationMode destinationMode = Xyz, double? destinationLeft = null, double? destinationBottom = null, double? destinationRight = null) #Creates a generated document open action targeting a one-based page number.
Parameters
- pageNumber int = 1
- destinationTop double? = null
- destinationMode OfficeIMO.Pdf.PdfOpenActionDestinationMode = Xyz
- destinationLeft double? = null
- destinationBottom double? = null
- destinationRight double? = null
Inherited Methods
Properties
public int PageNumber { get; } #One-based generated page number to show when the document opens.
public double? DestinationTop { get; } #Optional top coordinate for the destination. When omitted, the generated page top is used.
public double? DestinationLeft { get; } #Optional left coordinate for destination modes that use a left or rectangle coordinate.
public double? DestinationBottom { get; } #Optional bottom coordinate for rectangle destinations.
public double? DestinationRight { get; } #Optional right coordinate for rectangle destinations.
public PdfOpenActionDestinationMode DestinationMode { get; } #Viewer destination mode emitted for the open action.