Namespace TallComponents.PDF.JavaScript.Scripting
Class Global
Global JavaScript object.
To override the default behavior you must specialize this class and register a custom JavaScript class factory that returns an instance of this class.
Despite the name of this object, this is not a true global object that persists between documents. Each document has its own global object. Persisting values is accomplished by providing an implementation of the methods of this class. It is the responsibility of this implementation to store these values so that they persist across documents.
Syntax
public class Global
: Object
Constructors
Methods
StringCollection GetPersistedNames()
Return the collection of variable names that have been persisted during all previous sessions.
Object GetPersistedValue(String)
Return the value of a previously persisted variable.
Void SetPersistedValue(String,Object)
JavaScript method Global.setPersistent. Make a given variable persistent across application sessions.