Click or drag to resize

PdfJavaScriptAction Class

PdfJavaScriptAction represents an action taken that will cause JavaScript code to be executed.
Inheritance Hierarchy

Namespace:  Atalasoft.PdfDoc
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
[SerializableAttribute]
public class PdfJavaScriptAction : PdfAction, 
	ISerializable

The PdfJavaScriptAction type exposes the following members.

Constructors
  NameDescription
Public methodPdfJavaScriptAction
Initializes a new instance of the PdfJavaScriptAction class.
Public methodPdfJavaScriptAction(String)
Initializes a new instance of the PdfJavaScriptAction class.
Protected methodPdfJavaScriptAction(SerializationInfo, StreamingContext)
Initializes a new instance of the PdfJavaScriptAction class.
Top
Properties
  NameDescription
Public propertyActionType
Gets the type of the action represented by this object
(Overrides PdfActionActionType.)
Public propertyCode
Gets or sets the JavaScript code for the action.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodLLValidate
Low-level validation. Not for use by client code
(Inherited from PdfAction.)
Public methodMakeRepairContext
Makes the repair context for repairing problems in this object. An object implementing IValidatable should at least return an empty RepairContext object.
(Inherited from PdfAction.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validates the object and accumulates any problems in the problems list.
(Inherited from PdfAction.)
Top
Remarks
The number of things that can be done via a JavaScript action are fairly extensive. Please refer to the Acrobat JavaScript Scripting Reference for more information.
See Also