MaxUndoSteps

Forms, interaction, edit history

Description

Controls how many edit history entries the active TPDFlibFormSession edit retains for UndoEdit and RedoEdit

The default is 1000 entries, and the value is clamped to the range 0 through 10000 when written

A value of 0 disables history recording, and retained entries are trimmed immediately after the limit shrinks

Declaration

property MaxUndoSteps: Integer;

Value

Returns the current entry limit; writing a new value routes through SetMaxUndoSteps, which clamps the value and trims the existing history

See also

SetMaxUndoSteps, TrimEditHistory, UndoEditCount, RedoEditCount, ClearEditHistory