This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeGraphicsLayer Interface > IGlobeGraphicsLayer.AddElement Method (ArcObjects .NET 10.4 SDK) |
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