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
System.Object
  System.Collections.Generic.SortedList<String, PdfJavaScriptActionList>
    Atalasoft.PdfDoc.Actions.PdfJavaScriptActionListCollection

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 SortedList<TKey, TValue> can contain.
(Inherited from SortedList<String, PdfJavaScriptActionList>.)
Public propertyComparer
Gets the IComparer<T> for the sorted list.
(Inherited from SortedList<String, PdfJavaScriptActionList>.)
Public propertyCount
Gets the number of key/value pairs contained in the SortedList<TKey, TValue>.
(Inherited from SortedList<String, PdfJavaScriptActionList>.)
Public propertyItem
Gets or sets the value associated with the specified key.
(Inherited from SortedList<String, PdfJavaScriptActionList>.)
Public propertyKeys
Gets a collection containing the keys in the SortedList<TKey, TValue>, in sorted order.
(Inherited from SortedList<String, PdfJavaScriptActionList>.)
Public propertyValues
Gets a collection containing the values in the SortedList<TKey, TValue>.
(Inherited from SortedList<String, PdfJavaScriptActionList>.)
Top
Methods
  NameDescription
Public methodAdd(TKey, TValue)
Adds an element with the specified key and value into the SortedList<TKey, TValue>.
(Inherited from SortedList<String, 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 SortedList<TKey, TValue>.
(Inherited from SortedList<String, PdfJavaScriptActionList>.)
Public methodContainsKey
Determines whether the SortedList<TKey, TValue> contains a specific key.
(Inherited from SortedList<String, PdfJavaScriptActionList>.)
Public methodContainsValue
Determines whether the SortedList<TKey, TValue> contains a specific value.
(Inherited from SortedList<String, 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 SortedList<TKey, TValue>.
(Inherited from SortedList<String, 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 SortedList<TKey, TValue>.
(Inherited from SortedList<String, PdfJavaScriptActionList>.)
Public methodIndexOfValue
Searches for the specified value and returns the zero-based index of the first occurrence within the entire SortedList<TKey, TValue>.
(Inherited from SortedList<String, 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 SortedList<TKey, TValue>.
(Inherited from SortedList<String, PdfJavaScriptActionList>.)
Public methodRemoveAt
Removes the element at the specified index of the SortedList<TKey, TValue>.
(Inherited from SortedList<String, 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 SortedList<TKey, TValue>, if that number is less than 90 percent of current capacity.
(Inherited from SortedList<String, PdfJavaScriptActionList>.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from SortedList<String, PdfJavaScriptActionList>.)
Top
See Also