MenuItem.Style Property
Visio Automation Reference |
Determines whether a menu item shows an icon, a caption, or some combination. Read/write.
Version Information
Version Added: Visio 2.0
Syntax
expression.Style
expression A variable that represents a MenuItem object.
Return Value
Integer
Remarks
Possible values for the Style property are listed in the following table. These constants are declared by the Visio type library in VisUIButtonStyle.
Constant | Value |
---|---|
visButtonAutomatic |
0 |
visButtonCaption |
1 |
visButtonIcon |
2 |
visButtonIconandCaption |
3 |
See Also