Namespace TallComponents.PDF.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<JavaScript>
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(String,JavaScript)
Add a javaScript with the given name.
Void Clear()
Removes all items from the collection.
Boolean Exists(String)
Check if the given name exists in the current collection.
IEnumerator<JavaScript> GetEnumerator()
Implements strong typed IEnumerable<T>.GetEnumerator.
Void Remove(String)
Removes the JavaScript object with the given name.