Click or drag to resize

PdfJavaScriptActionListCollection Class

This is a collection of JavaScriptActionLists that are used within a PDF when a document is opened. Upon opening, all scripts within this collection will be executed in string order of the keys. The keys themselves are unimportant and are not used for anything beyond the order of execution. The intent of this collection is to define JavaScript elements that may be used elsewhere in the document.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericSortedListString, PdfJavaScriptActionList
    Atalasoft.PdfDoc.ActionsPdfJavaScriptActionListCollection

Namespace:  Atalasoft.PdfDoc.Actions
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class PdfJavaScriptActionListCollection : SortedList<string, PdfJavaScriptActionList>

The PdfJavaScriptActionListCollection type exposes the following members.

Constructors
  NameDescription
Public methodPdfJavaScriptActionListCollection
Initializes a new instance of the PdfJavaScriptActionListCollection class
Top
Properties
  NameDescription
Public propertyCapacity
Gets or sets the number of elements that the SortedListTKey, TValue can contain.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public propertyComparer
Gets the IComparerT for the sorted list.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public propertyCount
Gets the number of key/value pairs contained in the SortedListTKey, TValue.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public propertyItem
Gets or sets the value associated with the specified key.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public propertyKeys
Gets a collection containing the keys in the SortedListTKey, TValue, in sorted order.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public propertyValues
Gets a collection containing the values in the SortedListTKey, TValue.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Top
Methods
  NameDescription
Public methodAdd(TKey, TValue)
Adds an element with the specified key and value into the SortedListTKey, TValue.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public methodAdd(String, PdfJavaScriptAction)
Adds the specified action to the collection, creating a new PdfJavaScriptActionList if needed.
Public methodClear
Removes all elements from the SortedListTKey, TValue.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public methodContainsKey
Determines whether the SortedListTKey, TValue contains a specific key.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public methodContainsValue
Determines whether the SortedListTKey, TValue contains a specific value.
(Inherited from SortedListString, PdfJavaScriptActionList.)
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 methodGetEnumerator
Returns an enumerator that iterates through the SortedListTKey, TValue.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOfKey
Searches for the specified key and returns the zero-based index within the entire SortedListTKey, TValue.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public methodIndexOfValue
Searches for the specified value and returns the zero-based index of the first occurrence within the entire SortedListTKey, TValue.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public methodIsEmpty
Determines whether this collection contains any scripts, checking each list (if any) for elements.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the element with the specified key from the SortedListTKey, TValue.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public methodRemoveAt
Removes the element at the specified index of the SortedListTKey, TValue.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrimExcess
Sets the capacity to the actual number of elements in the SortedListTKey, TValue, if that number is less than 90 percent of current capacity.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from SortedListString, PdfJavaScriptActionList.)
Top
See Also