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

IGraphicsContainer3D.AddElement Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IG > IGraphicsContainer3D Interface > IGraphicsContainer3D.AddElement Method
ArcGIS Developer Help

IGraphicsContainer3D.AddElement Method

Adds a new graphic element to the container.

[Visual Basic .NET]
Public Sub AddElement ( _
    ByVal Element As IElement _
public void AddElement (
    IElement Element
HRESULT AddElement(
  IElement* Element
Element [in]

Element is a parameter of type IElement*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.


All vertices of Geometries of Elements added to a 3D Graphics Container must be Z-Simple (non-NaN).

See Also

IGraphicsContainer3D Interface

.NET Samples

3D multipatch examples