AnnUndoEnable property (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

bool AnnUndoEnable

Delphi Syntax

AnnUndoEnable: Boolean

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Enables or disables the undo mechanism for an automation object. Possible values are:

Value

Meaning

True

Enable the undo mechanism for the specified automation object.

False

Disable the undo mechanism for the specified automation object.

Please note that the undo stack is not changed. This is intended to temporarily disable the undo mechanism.

This property, along with the AnnAddUndoNode method can be used to combine multiple changes into a single undo call. For more information of this process, refer to the AnnAddUndoNode method.

See Also

Elements:

AnnUndoDepth property, AnnAddUndoNode method, AnnUndo method

Topics:

Annotations (Document/Medical only): Automation

 

Undoing Automation Operations