TXFAJavaScriptSession.Checkpoint

Unit: HPDFXFAEventScript

Declaration

function Checkpoint: Integer;

Behavior

Returns the current committed journal position for a subsequent rollback

Keep the checkpoint with the matching host-document snapshot so engine and document state restore together

A checkpoint is valid only for the session that produced it and cannot exceed its current journal position

Related APIs

TXFAJavaScriptSession, HPDFXFAExecuteJavaScriptEvent and Interactive Dynamic XFA Widget Runtime