Gets the center coordinates of the specified SolidWorks toolbar button.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetButtonPosition( _
ByVal PointAt As System.Integer, _
ByRef LocX As System.Integer, _
ByRef LocY As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim PointAt As System.Integer
Dim LocX As System.Integer
Dim LocY As System.Integer
Dim value As System.Boolean
value = instance.GetButtonPosition(PointAt, LocX, LocY) |
C# | |
---|
System.bool GetButtonPosition(
System.int PointAt,
out System.int LocX,
out System.int LocY
) |
C++/CLI | |
---|
System.bool GetButtonPosition(
& System.int PointAt,
& [Out] System.int LocX,
& [Out] System.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