Class GoTo

This class represents a GoTo action. ActionType

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

Constructors

GoTo(Int32)

Sets the index of the page to go to.

Declaration
public GoTo(int pageIndex)
Parameters
Type Name Description
System.Int32 pageIndex

The index of the page to go to.

Properties

ActionType

The type of the action. ActionType

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

PageIndex

The index of the page to go to.

Declaration
public int PageIndex { get; set; }
Property Value
Type Description
System.Int32

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