Namespace TallComponents.PDF.Layout.JavaScript
Class JavaScriptCollection
JavaScript defined at document level. You cannot create an instance of this class. Instead you retrieve an existing JavaScriptCollection object from the JavaScript property of the Document class.
Syntax
public class JavaScriptCollection : Object,IEnumerable
Properties
Int32 Count
The number of JavaScript element in this collection
JavaScript Item
The JavaScript associated with the given index.
String[] ScriptNames
The script names in this document.
Methods
Void Add(JavaScript)
Adds a (Named)JavaScript to the javascript collection.
Void Clear()
Removes all items from the collection.
Boolean Exists(String)
Check if the given name exists in the current collection.
IEnumerator GetEnumerator()
Implements strong typed IEnumerable<T>.GetEnumerator.
Void Remove(String)
Removes the JavaScript object with the given name.