TXFAJavaScriptSession.Checkpoint

Unit: HPDFXFAEventScript

Declaration

function Checkpoint: Integer;

Behaviour

Returns the current committed journal position for a later rollback

Keep the checkpoint alongside the matching host-document snapshot so engine and document state come back together

A checkpoint is valid only for the session that produced it and may not go past its current journal position

Related APIs

TXFAJavaScriptSession, HPDFXFAExecuteJavaScriptEvent and Interactive Dynamic XFA Widget Runtime