Class UriAction

This class represents a Uri action. ActionType

Inheritance
System.Object
UriAction
Implements
Namespace: PSPDFKit.Pdf.Actions
Assembly: PSPDFKit.dll
Syntax
public sealed class UriAction : IAction

Constructors

UriAction(String)

Constructs a UriAction for the specified Uri.

Declaration
public UriAction(string uri)
Parameters
Type Name Description
System.String uri

The uniform resource identifier (web link) that should be resolved when triggering this action.

Properties

ActionType

The type of the action. ActionType

Declaration
public ActionType ActionType { get; }
Property Value
Type Description
ActionType

Uri

The uniform resource identifier (web link) that should be resolved when triggering this action.

Declaration
public string Uri { get; set; }
Property Value
Type Description
System.String

Methods

FromJson(JsonObject)

Declaration
public static IAction FromJson(JsonObject json)
Parameters
Type Name Description
Windows.Data.Json.JsonObject json

The Instant JSON representing the IAction.

Returns
Type Description
IAction

The IAction represented by the Instant JSON.

ToJson()

Declaration
public JsonObject ToJson()
Returns
Type Description
Windows.Data.Json.JsonObject

A JsonObject containing the action.

Implements

IAction