Share via


MenuItem.TypeSpecific2 Property

Visio Automation Reference

Gets or sets the type of a menu item. Read/write.

Version Information
 Version Added:  Visio 4.0

Syntax

expression.TypeSpecific2

expression   A variable that represents a MenuItem object.

Return Value
Integer

Remarks

The value of an object's TypeSpecific2 property depends on the value of its CntrlType property.

CntrlType value TypeSpecific1 value

visCtrlTypeBUTTON

The TypeSpecific2 property is not used.

visCtrlTypeCOMBOBOX

The current width of the control expressed in pixels.

visCtrlTypeEDITBOX

The current width of the control expressed in pixels.

visCtrlTypeLABEL

The TypeSpecific2 property is not used.

See Also