Method SetPersistedValue

Namespace TallComponents.PDF.JavaScript.Scripting
Class Global

JavaScript method Global.setPersistent. Make a given variable persistent across application sessions.

If the variable should persist across app domains, the implementor should use an appropriate persistency mechanism such as a file on disk, or the Windows registry. The default implementation ignores the persist argument and does not persist across across application sessions.

Syntax

protected internal  Void  SetPersistedValue( String  name Object  value )

Returns

Void

Parameters


String name
The name of the variable to persist.

Object value
Value of the variable to persist. Type is string, float, double or bool.