This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IG > IGraphicsContainer3D Interface > IGraphicsContainer3D.AddElement Method (ArcObjects .NET 10.4 SDK) |
Adds a new graphic element to the container.
[Visual Basic .NET] Public Sub AddElement ( _ ByVal Element As IElement _ )
[C#] public void AddElement ( IElement Element );
[C++]
HRESULT AddElement(
IElement* Element
);
[C++]
Parameters Element [in]
Element is a parameter of type IElement
All vertices of Geometries of Elements added to a 3D Graphics Container must be Z-Simple (non-NaN).