Adds a custom button to the Task Pane.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddCustomButton( _
ByVal BitmapPath As System.String, _
ByVal ToolTip As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ITaskpaneView
Dim BitmapPath As System.String
Dim ToolTip As System.String
Dim value As System.Boolean
value = instance.AddCustomButton(BitmapPath, ToolTip) |
C++/CLI | |
---|
System.bool AddCustomButton(
& System.String^ BitmapPath,
& System.String^ ToolTip
) |
Parameters
- BitmapPath
- Path and filename of the bitmap for the custom button
- ToolTip
- ToolTip for the custom button
Return Value
True if the custom button is added to the Task Pane, false if not
Example
Remarks
See Also
Availability
SolidWorks 2011 FCS, Revision Number 19.0