Get detailed information about a mouse pick.
[Visual Basic .NET] |
---|
Public Function PickInfo( _ ByVal X As Integer, _ ByVal Y As Integer _ ) As AgPickInfoData |
[C#] |
---|
public AgPickInfoData PickInfo( int X, int Y ); |
[Managed C++] |
---|
public: AgPickInfoData^ PickInfo( int X, int Y ); |
[Java] |
---|
public AgPickInfoData pickInfo( int X, int Y ); |
[Unmanaged C++] |
---|
public: HRESULT PickInfo( OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y, AgPickInfoData ** ppPickData ); |
- X
- Specifies the x-coordinate of the point in windows coordinates of the control.
- Y
- Specifies the y-coordinate of the point in control coordinates.
The PickInfo method processes the point clicked during a mouse pick and returns a AgPickInfoData object which contains (if available):
- the corresponding 3D scene latitude, longitude and altitude;
- the STK object clicked.
The PickInfo method returns "Primitive ID: <number>" when the %AdvancedPickMode Property:STKXLib~AgUiAxVOCntrl~AdvancedPickMode% is set to true.
[Visual Basic .NET] | ||
---|---|---|
|