ArcObjects Library Reference (3DAnalyst)  

IGraphicsContainer3D.AddElement Method

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

Product Availability

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

Remarks

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 (Code Files: GraphicsLayer3DUtilities)