Share via


RenameCurrentScope Method [Visio 2003 SDK Documentation]

Renames the top-level open undo scope.

object**.RenameCurrentScope**bstrScopeName

object     Required. An expression that returns an Application object that contains the undo scope.

bstrScopeName     Required String. The new name of the undo scope.

Version added

2002

Remarks

The new name assigned to the undo scope appears on the Undo menu as the item name. If there is no open undo scope, the RenameCurrentScope method raises an exception.

Applies to | Application object | Document object | InvisibleApp object

See Also | BeginUndoScope method | CurrentScope property | EndUndoScope method | IsInScope property | Redo method | Undo method