ArcObjects Library Reference (GlobeCore)  

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

See Also

IGlobeDisplay3 Interface