Class ResetForm
This class represents a ResetForm action. ActionType
Inheritance
System.Object
ResetForm
Implements
Namespace: PSPDFKit.Pdf.Actions
Assembly: PSPDFKit.dll
Syntax
public sealed class ResetForm : IAction
Constructors
ResetForm(IList<String>)
The list of Fields to reset.
Declaration
public ResetForm(IList<string> fields)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.String> | fields |
Properties
ActionType
The type of the action. ActionType
Declaration
public ActionType ActionType { get; }
Property Value
Type | Description |
---|---|
ActionType |
Fields
The names of the fields that should be reset.
Declaration
public IList<string> Fields { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
IncludeExclude
If true, Fields specifies which fields not to reset.
Declaration
public bool IncludeExclude { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
FromJson(JsonObject)
Constructs an IAction from Instant JSON. See https://pspdfkit.com/guides/server/current/document/json-format/
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()
Converts the action to its JSON representation. See https://pspdfkit.com/guides/server/current/document/json-format/#toc_action-types
Declaration
public JsonObject ToJson()
Returns
Type | Description |
---|---|
Windows.Data.Json.JsonObject | A JsonObject containing the action. |