GetUndoEditCount

Forms, interaction, edit history

Description

Internal read accessor of the UndoEditCount property of TPDFlibFormSession

It reports the current history position, which is exactly the number of retained entries below it that remain available to UndoEdit

The count grows with each recorded change, shrinks with each undo and is bounded by MaxUndoSteps

Declaration

function GetUndoEditCount: Integer;

Return value

Returns the number of entries currently available to UndoEdit

See also

CanUndoEdit, UndoEdit, GetRedoEditCount, ApplyEditHistory, ClearEditHistory, MaxUndoSteps, TPDFlibFormSession