AGI STK Graphics 11 Send comments on this topic.
Pick Method (IAgStkGraphicsScene)
See Also 
X
The x coordinate of the globe control.
Y
The y coordinate of the globe control.





Description

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.

Syntax

[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
);

[Java]
public IAgStkGraphicsPickResultCollection pick(
ppInteger X,
ppInteger Y
);

[Unmanaged C++]
public: HRESULT Pick(
int X,
int Y,
IAgStkGraphicsPickResultCollection ** ReturnValue
);

Parameters

X
The x coordinate of the globe control.
Y
The y coordinate of the globe control.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1