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


ISceneGraph2.QueryLocation Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (3DAnalyst)  

ISceneGraph2.QueryLocation Method

Locates a single object.

[Visual Basic .NET]
Public Sub QueryLocation ( _
    ByVal pViewer As ISceneViewer, _
    ByVal x As Integer, _
    ByVal y As Integer, _
    ByVal mode As esriScenePickMode, _
    ByVal bGetTransformed As Boolean, _
    ByVal pPt As IPoint _
)
[C#]
public void QueryLocation (
    ISceneViewer pViewer,
    int x,
    int y,
    esriScenePickMode mode,
    bool bGetTransformed,
    IPoint pPt
);
[C++]
HRESULT QueryLocation(
  ISceneViewer* pViewer,
  long x,
  long y,
  esriScenePickMode mode,
  VARIANT_BOOL bGetTransformed,
  IPoint* pPt
);
[C++]

Parameters pViewer [in]
pViewer is a parameter of type ISceneViewer x [in] x is a parameter of type long y [in] y is a parameter of type long mode [in]
mode is a parameter of type esriScenePickMode bGetTransformed [in] bGetTransformed is a parameter of type VARIANT_BOOL pPt [in]
pPt is a parameter of type IPoint

Product Availability

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

See Also

ISceneGraph2 Interface