UIObject.MenuAnimationStyle Property
Visio Automation Reference |
Gets or sets the way in which a menu is displayed. Read/write.
Version Information
Version Added: Visio 2000
Syntax
expression.MenuAnimationStyle
expression A variable that represents a UIObject object.
Return Value
Integer
Remarks
You can use any UIObject object to get or set this property. The property affects the entire application and affects the appearance of buttons in the currently visible set of toolbars.
Beginning with Microsoft Visio 2002, this setting corresponds to the Menu animations box on the Options tab in the Customize dialog box (on the Tools menu, click Customize) and is shared between Visio and all Microsoft Office applications.
Constants representing animation styles are prefixed with visMenuAnimation and are declared by the Visio type library in member VisUIMenuAnimation.
Constant | Value |
---|---|
visMenuAnimationNone |
0 |
visMenuAnimationRandom |
1 |
visMenuAnimationUnfold |
2 |
visMenuAnimationSlide |
3 |
See Also