Skip to content

# PDFGoToAction

Namespace: O2S.Components.PDF4NET.Actions

Defines a Go To action.

    public class PDFGoToAction : PDFAction

Inheritance Object → PDFAction → PDFGoToAction

Remarks

A go to action changes the view in the PDF viewer application to a specified destination (page, location and magnification factor).

## Constructors

### PDFGoToAction()

Initializes a new PDFGoToAction object.

    public PDFGoToAction()

## Properties

### Actions

Gets or sets the sequence of actions to be performed after this action.

    public PDFActionCollection Actions { get; set; }

Property Value

PDFActionCollection
The sequence of actions to be performed after this action.

### CosAction

Gets the cos action object.

    public PDFCosDictionary CosAction { get; }

Property Value

PDFCosDictionary
The cos action dictionary.

Remarks

Direct changes to cos action dictionary can lead to unexpected results if they do not follow the PDF specification.

### Destination

Gets or sets the destination of the GoTo action.

    public PDFDestination Destination { get; set; }

Property Value

PDFDestination
The destination to jump to.

### Type

Gets the type of this action.

    public PDFActionType Type { get; }

Property Value

PDFActionType
A PDFActionType enum member specifying the type of this action.