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


IGlobeGraphicsLayer.AddElement Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeGraphicsLayer Interface > IGlobeGraphicsLayer.AddElement Method
ArcGIS Developer Help

IGlobeGraphicsLayer.AddElement Method

Adds a Graphics Element with specific Globe properties.

[Visual Basic .NET]
Public Sub AddElement ( _
    ByVal pElement As IElement, _
    ByVal pProps As IGlobeGraphicsElementProperties, _
    ByRef pElementIndex As Integer _
)
[C#]
public void AddElement (
    IElement pElement,
    IGlobeGraphicsElementProperties pProps,
    ref int pElementIndex
);
[C++]
HRESULT AddElement(
  IElement* pElement,
  IGlobeGraphicsElementProperties* pProps,
  System.Int32* pElementIndex
);
[C++]
Parameters
pElement [in]

pElement is a parameter of type IElement* pProps [in]
pProps is a parameter of type IGlobeGraphicsElementProperties* pElementIndex [out]
pElementIndex is a parameter of type long*

Product Availability

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

See Also

IGlobeGraphicsLayer Interface

.NET Samples

Creating a toolbar of globe tools