Adds a custom button to the Task Pane.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddCustomButton2( _
ByVal ImageList As System.Object, _
ByVal ToolTip As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ITaskpaneView
Dim ImageList As System.Object
Dim ToolTip As System.String
Dim value As System.Boolean
value = instance.AddCustomButton2(ImageList, ToolTip) |
C# | |
---|
System.bool AddCustomButton2(
System.object ImageList,
System.string ToolTip
) |
C++/CLI | |
---|
System.bool AddCustomButton2(
& System.Object^ ImageList,
& System.String^ ToolTip
) |
Parameters
- ImageList
- Array of strings for the paths for the image files for the custom button (see Remarks)
- ToolTip
- ToolTip for the custom button
Return Value
True if the custom button is added to the Task Pane, false if not
Remarks
See Also
Availability
SOLIDWORKS 2016 FCS, Revision Number 24.0