Description
Activates undo for prop object.
Changes of object properties by means of ElementProp do not mark undo steps. Use the MarkUndo method to allow user to undo changes.
Example:
' make all selected element transparent
Dim elem as ElementProp = Page.SelElement()
Do
elem.MarkUndo ' save element current state, for later undo
elem.TR_Active=True 'modify object properties...
elem.TR_Method=0
elem.TR_Alpha=50
elem.TR_Options=0
Loop While elem.nextsel
Syntax
object.MarkUndo |
object
Required. Object name, returned by Dim elem as ElementProp = Page.SelElement()