THotPDF.BeginLoadedFormEditSession Method

function BeginLoadedFormEditSession: THPDFFormEditSession;

Returns a session for a loaded document containing at least one form field

SetFieldValue records history, marks the field dirty, and regenerates its appearance stream

Undo and Redo move through session history, Rollback restores every original value, and Commit retains the current values

BindEventAction and DispatchEvent support constrained focus, pointer, key, and commit actions without evaluating JavaScript

The caller owns the returned session and must free it