Executes a pick at the given x, y and returns a depth sorted collection of picked objects. The coordinate origin is top, left. To pick screen overlays, use the PickScreenOverlays method.
[Visual Basic .NET] |
---|
Public Function Pick( _ ByVal X As Integer, _ ByVal Y As Integer _ ) As IAgStkGraphicsPickResultCollection |
[C#] |
---|
public IAgStkGraphicsPickResultCollection Pick( int X, int Y ); |
[Managed C++] |
---|
public: IAgStkGraphicsPickResultCollection^ Pick( int X, int Y ); |
[Unmanaged C++] |
---|
public: HRESULT Pick( int X, int Y, IAgStkGraphicsPickResultCollection ** ppRetVal ); |
[Java] |
---|
public IAgStkGraphicsPickResultCollection pick( Integer X, Integer Y ); |
[Python - STK API ] |
---|
def Pick(self, X:int, Y:int) -> "IAgStkGraphicsPickResultCollection": |
- X
- The x coordinate of the globe control.
- Y
- The y coordinate of the globe control.