ArcObjects Library Reference (3DAnalyst)  

ICamera.GetIdentifyRay Method

Returns the ray that corresponds to given screen coordinates.

[Visual Basic .NET]
Public Function GetIdentifyRay ( _
    ByVal dx As Integer, _
    ByVal dy As Integer _
) As IRay
[C#]
public IRay GetIdentifyRay (
    int dx,
    int dy
);
[C++]
HRESULT GetIdentifyRay(
  long dx,
  long dy,
  IRay** ppRay
);
[C++]

Parameters

dx [in]   dx is a parameter of type long dy [in]   dy is a parameter of type long ppRay [out, retval]

  ppRay is a parameter of type IRay

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

ICamera Interface