Engine Property
Indicates the active JavaScript engine.
Syntax
[VB.NET] Public Property Engine As String
[C#] public string Engine {get; set;}
Remarks
This property specifies the JavaScript engine which will be used. This property may be set to the absolute or relative path to the JavaScript engine. By default, Windows uses the V8 JavaScript engine (v8engine.dll). The Java edition uses the Rhino JavaScript engine (rhinoengine.jar).
Engine Notes
The component uses a common interface which acts as a bridge between the component itself and the actual engine. The component will make calls to the interface library which will in turn make calls to the selected engine. Every project must include the interface library, as well as the selected engine library.
The interface library is a separate file: "nsoftware.InScript.Interface.dll" (.NET) or "inscript.interface.jar" (Java). This file must be included in your project.
In addition to the interface library, the actual engine must be present. Several engine libraries are shipped with the product in the "lib" folder. The engines do not need to be included in your project, but must be present at runtime in order to be loaded by the interface library.
Windows Engines
The component supports two different JavaScript engines: The V8 JavaScript engine from Google and the Jurassic engine. Possible values for this property are:
- jurassicengine.dll (.NET Edition Only)
- v8engine.dll (default)
Java Engines
The component supports the Rhino JavaScript engine. Possible values for this property are:
- rhinoengine.jar (default)
This property is not available at design time.
Default Value
""