Click or drag to resize

PdfGoToPageViewAction Class

A go-to action changes the view to a specified destination (page, location, and magnification factor).
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.Pdf.ActionsPdfAction
      SautinSoft.Pdf.ActionsPdfGoToPageViewAction

Namespace: SautinSoft.Pdf.Actions
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.11.26
Syntax
public sealed class PdfGoToPageViewAction : PdfAction

The PdfGoToPageViewAction type exposes the following members.

Properties
 NameDescription
Public propertyActionType Gets the GoToPageView value.
(Overrides PdfActionActionType)
Public propertyDestination(Required) The destination to jump to (see 12.3.2, "Destinations").
Public propertyDestinationName(Required) The named destination to jump to (see 12.3.2.3, "Named Destinations").
Top
Methods
 NameDescription
Public methodSetDestination

Sets the explicit destination to jump to (see 12.3.2.2, "Explicit Destinations").

parameters represent the following values depending on the viewType parameter:

FitRectangle
Left, Bottom, Right and Top.
LeftTopZoom
Left, Top and Zoom.
FitPageVertical and FitContentVertical
Left.
FitPageHorizontal and FitContentHorizontal
Top.
FitPage and FitContent
None.
Top
Extension Methods
 NameDescription
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Top
Remarks
Specifying a go-to action in the A entry of a link annotation or outline item has the same effect as specifying the destination directly with the Dest entry.
See Also