Gets or sets the position of the CommandGroup for the specified document templates.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Property MenuPosition( _
ByVal Context As System.Integer _
) As System.Integer |
| Visual Basic (Usage) | |
|---|
Dim instance As ICommandGroup
Dim Context As System.Integer
Dim value As System.Integer
instance.MenuPosition(Context) = value
value = instance.MenuPosition(Context) |
| C# | |
|---|
System.int MenuPosition(
System.int Context
) {get; set;} |
| C++/CLI | |
|---|
property System.int MenuPosition {
System.int get(System.int Context);
void set (System.int Context, System.int value);
} |
Parameters
- Context
- Context as defined in swDocTemplateTypes_e
Property Value
Position of the CommandGroup in the CommandManager
NOTE: Specify 0 to add the CommandGroup to the beginning of the CommandMananger, or specify -1 to add it to the end of the CommandManager.
Remarks
See Also
Availability
SOLIDWORKS 2007 FCS, Revision Number 15