TXFAJavaScriptSession.Create

Unit: HPDFXFAEventScript

Declaration

constructor Create(const Options: TXFAFormScriptOptions);

Behavior

Creates a session with the supplied QuickJS DLL and resource settings; engine creation is deferred until the first evaluation

The caller owns the returned session and frees it after use; constructor options determine engine memory and stack bounds

Related APIs

TXFAJavaScriptSession, HPDFXFAExecuteJavaScriptEvent and Interactive Dynamic XFA Widget Runtime