Gets the center coordinates of the specified SolidWorks toolbar button.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetButtonPosition( _
ByVal PointAt As Integer, _
ByRef LocX As Integer, _
ByRef LocY As Integer _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim PointAt As Integer
Dim LocX As Integer
Dim LocY As Integer
Dim value As Boolean
value = instance.GetButtonPosition(PointAt, LocX, LocY)
|
C++/CLI | |
---|
bool GetButtonPosition(
& int PointAt,
& [Out] int LocX,
& [Out] int LocY
) |
Parameters
- PointAt
- Command ID for SolidWorks toolbar button as defined in swCommands_e
- LocX
- x coordinate of the center of the specified SolidWorks toolbar button
- LocY
- y coordinate of the center of the specified SolidWorks toolbar button
Return Value
True if method call is successful, false if not
See Also
Availability
SolidWorks 2010 FCS, Revision Number 18.0