API Reference
Class
PdfOpenActionOptions
Defines the initial destination a PDF viewer should open when displaying a generated document.
Inheritance
- Object
- PdfOpenActionOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property PdfOptions.OpenAction
Constructors
public PdfOpenActionOptions(Int32 pageNumber = 1, Nullable<Double> destinationTop = null, PdfOpenActionDestinationMode destinationMode = Xyz, Nullable<Double> destinationLeft = null, Nullable<Double> destinationBottom = null, Nullable<Double> destinationRight = null) #Creates a generated document open action targeting a one-based page number.
Parameters
- pageNumber System.Int32 = 1
- destinationTop System.Nullable{System.Double} = null
- destinationMode OfficeIMO.Pdf.PdfOpenActionDestinationMode = Xyz
- destinationLeft System.Nullable{System.Double} = null
- destinationBottom System.Nullable{System.Double} = null
- destinationRight System.Nullable{System.Double} = null
Inherited Methods
Properties
public Int32 PageNumber { get; } #One-based generated page number to show when the document opens.
public Nullable<Double> DestinationTop { get; } #Optional top coordinate for the destination. When omitted, the generated page top is used.
public Nullable<Double> DestinationLeft { get; } #Optional left coordinate for destination modes that use a left or rectangle coordinate.
public Nullable<Double> DestinationBottom { get; } #Optional bottom coordinate for rectangle destinations.
public Nullable<Double> DestinationRight { get; } #Optional right coordinate for rectangle destinations.
public PdfOpenActionDestinationMode DestinationMode { get; } #Viewer destination mode emitted for the open action.