TXFAJavaScriptSession.Create

Unit: HPDFXFAEventScript

Declaration

constructor Create(const Options: TXFAFormScriptOptions);

Behaviour

Creates a session from the supplied QuickJS DLL and resource settings; engine creation is put off until the first evaluation

The caller owns the returned session and frees it once finished; constructor options set the engine memory and stack bounds

Related APIs

TXFAJavaScriptSession, HPDFXFAExecuteJavaScriptEvent and Interactive Dynamic XFA Widget Runtime