UpdateUI method

Microsoft Visio Developer Reference

UpdateUI method

   Example   

Causes Microsoft Visio to display changes to the user interface represented by a UIObject object.

Version added

4.0

Syntax

object.UpdateUI

object

Required. An expression that returns a UIObject object that represents the user interface that was changed.

Remarks

The UpdateUI method updates the Visio user interface with changes made to a UIObject object during a session. Use the CustomMenus or CustomToolbars property of an Application object or Document object to obtain the UIObject object.