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


IGlobeDisplay3.PickGraphic Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GlobeCore)  

IGlobeDisplay3.PickGraphic Method

Picks a single graphic element.

[Visual Basic .NET]
Public Sub PickGraphic ( _
    ByVal pViewer As ISceneViewer, _
    ByVal xView As Integer, _
    ByVal yView As Integer, _
    ByRef Owner As IGraphicsContainer3D, _
    ByRef elementIndex As Integer _
)
[C#]
public void PickGraphic (
    ISceneViewer pViewer,
    int xView,
    int yView,
    ref IGraphicsContainer3D Owner,
    ref int elementIndex
);
[C++]
HRESULT PickGraphic(
  ISceneViewer* pViewer,
  long xView,
  long yView,
  IGraphicsContainer3D** Owner,
  long* elementIndex
);
[C++]

Parameters pViewer [in]
pViewer is a parameter of type ISceneViewer xView [in] xView is a parameter of type long yView [in] yView is a parameter of type long Owner [out]
Owner is a parameter of type IGraphicsContainer3D elementIndex [out] elementIndex is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGlobeDisplay3 Interface