|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeViewer Interface > IGlobeViewer.GetIsTargetAtCenter Method (ArcObjects .NET 10.4 SDK) | 
Finds if the target is at the center of a globe.
[Visual Basic .NET] Public Sub GetIsTargetAtCenter ( _ ByRef pIsAtCenter As Boolean, _ ByRef pIndexGlobe As Integer _ )
[C#] public void GetIsTargetAtCenter ( ref bool pIsAtCenter, ref int pIndexGlobe );
[C++]
HRESULT GetIsTargetAtCenter(
  VARIANT_BOOL* pIsAtCenter,
  long* pIndexGlobe
);
[C++]
Parameters pIsAtCenter [out] pIsAtCenter is a parameter of type VARIANT_BOOL pIndexGlobe [out] pIndexGlobe is a parameter of type long