SetUndoLevel  Method

Description         This methods sets the level of undo. It is the maximum available count of undo. This value is between 0 and 16. The SetUndoLevel function deletes previously saved DIBs for undo.

Syntax                 RetVal = [BIDisp.] SetUndoLevel Level

Returns               RetVal                    BOOL             TRUE on success, otherwise FALSE. If the parameter is invalid or memory allocation for DIBs causes error the method returns FALSE.

Remarks             Level                       Short               Count of undo. If the parameter is 0 undo is unavailable. If Level greather than 16 the undo level will be 16.

 

See Also          GetUndoLevel Method, UndoDIB Method, GetUndoDibsCount Method