Skip to content

# PDFUriAction

Namespace: O2S.Components.PDF4NET.Actions

Defines a URI action.

    public class PDFUriAction : PDFAction

Inheritance Object → PDFAction → PDFUriAction

Remarks

A URI action causes a URI to be resolved.

## Constructors

### PDFUriAction()

Initializes a new PDFUriAction object.

    public PDFUriAction()

### PDFUriAction(String)

Initializes a new PDFUriAction object.

    public PDFUriAction(string uri)

Parameters

`uri` String
The uniform resource identifier to resolve, encoded in 7-bit ASCII.

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

### Type

Gets the type of this action.

    public PDFActionType Type { get; }

Property Value

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

### URI

Gets or sets the uniform resource identifier to resolve, encoded in 7-bit ASCII.

    public string URI { get; set; }

Property Value

String
The uniform resource identifier to resolve, encoded in 7-bit ASCII.