ArcObjects Library Reference (GlobeCore)  

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,
  long* 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 (Code Files: Layer) |