This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARGlobe Interface > IARGlobe.LocateARFeature Method (ArcObjects .NET 10.5 SDK) |
Searches the globe along a ray trace, returns the first feature in the ray.
[Visual Basic .NET] Public Function LocateARFeature ( _ ByVal x As Integer, _ ByVal y As Integer _ ) As ARFeature
[C#] public ARFeature LocateARFeature ( int x, int y );
Given a screen coordinate in pixels, this method returns the first ARFeature located along an imaginary line from the observer location to the specified point on the ARGlobe surface.