Skip to content

# PDFNamedAction

Namespace: O2S.Components.PDF4NET.Actions

Defines a Named action.

    public class PDFNamedAction : PDFAction

Inheritance Object → PDFAction → PDFNamedAction

Remarks

A named action is a predefined action expected to be supported by any PDF viewers.

## Constructors

### PDFNamedAction()

Initializes a new PDFNamedAction object.

    public PDFNamedAction()

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

### NamedAction

Gets or sets the name of the action to be performed.

    public PDFActionName NamedAction { get; set; }

Property Value

PDFActionName
The name of the action to be performed

### Type

Gets the type of this action.

    public PDFActionType Type { get; }

Property Value

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