Obsolete. Superseded by IPropertyManagerPage2::AddControl2.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddControl( _
ByVal ID As System.Integer, _
ByVal ControlType As System.Short, _
ByVal Caption As System.String, _
ByVal LeftAlign As System.Short, _
ByVal Options As System.Integer, _
ByVal Tip As System.String _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As IPropertyManagerPage2
Dim ID As System.Integer
Dim ControlType As System.Short
Dim Caption As System.String
Dim LeftAlign As System.Short
Dim Options As System.Integer
Dim Tip As System.String
Dim value As System.Object
value = instance.AddControl(ID, ControlType, Caption, LeftAlign, Options, Tip) |
Parameters
- ID
Resource ID of this control; API passes this user-defined value back to the add-in through the IPropertyManagerPage2Handler8 interface
- ControlType
Type of control as defined in swPropertyManagerPageControlType_e
- Caption
Caption of this control
- LeftAlign
Left-align property of this control as defined in swPropertyManagerPageControlLeftAlign_e
- Options
Options as defined in swAddControlOptions_e
- Tip
ToolTip for this control
Return Value
Newly created
PropertyManager page control
Remarks
See Also
Availability
SOLIDWORKS 2001Plus FCS, Revision Number 10.0