Skip to content

# PDFRemoteGoToAction

Namespace: O2S.Components.PDF4NET.Actions

Defines a Remote Go-To action.

    public class PDFRemoteGoToAction : PDFAction

Inheritance Object → PDFAction → PDFRemoteGoToAction

Remarks

A remote go-to action is similar to an ordinary go-to action but jumps to a destination in another PDF file instead of the current file.

## Constructors

### PDFRemoteGoToAction()

Initializes a new PDFRemoteGoToAction object.

    public PDFRemoteGoToAction()

## 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 to jump to.

    public PDFPageNumberDestination Destination { get; set; }

Property Value

PDFPageNumberDestination
The destination to jump to in the remote document.

### FileName

Gets or sets the file in which the destination is located.

    public string FileName { get; set; }

Property Value

String
The file in which the destination is located.

### NewWindow

Gets or sets a value indicating whether to open the destination document in a new window.

    public bool NewWindow { get; set; }

Property Value

Boolean
A bool value specifying whether to open the destination document in a new window. If this property is false, the destination document replaces the current document in the same window.

### Type

Gets the type of this action.

    public PDFActionType Type { get; }

Property Value

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