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


ISceneGraph2.QueryLocation Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IS > ISceneGraph2 Interface > ISceneGraph2.QueryLocation Method
ArcGIS Developer Help

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