This document is archived and information here might be outdated.  Recommended version.


IARGlobe.LocateARFeature Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (PublisherControls)  

IARGlobe.LocateARFeature Method

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

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

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.

See Also

IARGlobe Interface