This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISymbologyControlDefault Interface > ISymbologyControlDefault.HitTest Method (ArcObjects .NET 10.4 SDK) |
Returns the item at the specified x and y coordinates.
[Visual Basic .NET] Public Function HitTest ( _ ByVal X As Integer, _ ByVal Y As Integer _ ) As IStyleGalleryItem
[C#] public IStyleGalleryItem HitTest ( int X, int Y );
[C++]
HRESULT HitTest(
long X,
long Y
);
[C++]
Parameters X [in] X is a parameter of type long Y [in] Y is a parameter of type long
Returns the item at the specified x and y coordinates (in pixels). If no item is found, returns Nothing.