Gets or sets the position of the CommandGroup for the specified document templates.
.NET Syntax
Visual Basic (Declaration) | |
---|
Property MenuPosition( _
ByVal Context As Integer _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICommandGroup
Dim Context As Integer
Dim value As Integer
instance.MenuPosition(Context) = value
value = instance.MenuPosition(Context)
|
C# | |
---|
int MenuPosition(
int Context
) {get; set;} |
C++/CLI | |
---|
property int MenuPosition {
int get(int Context);
void set (int Context, int value);
} |
Parameters
- Context
- Context as defined in swDocTemplateTypes_e
Return 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