MenuSet.Protection Property
Visio Automation Reference |
Determines how a MenuSet object is protected from user customization. Read/write.
Version Information
Version Added: Visio 2000
Syntax
expression.Protection
expression A variable that represents a MenuSet object.
Return Value
Integer
Remarks
The value of the Protection property can be one or a combination of the following constants declared by the Visio type library in VisUIBarProtection.
Constant | Value | Description |
---|---|---|
visBarNoProtection |
0 |
No protection. |
visBarNoCustomize |
1 |
Cannot be customized. |
visBarNoResize |
2 |
Cannot be resized. |
visBarNoMove |
4 |
Cannot be moved. |
visBarNoChangeDock |
16 |
Cannot be docked or floating. |
visBarNoVerticalDock |
32 |
Cannot be docked vertically. |
visBarNoHorizontalDock |
64 |
Cannot be docked horizontally. |
See Also