This document is archived and information here might be outdated. Recommended version. |
Add a new graphic element to the layer.
[Visual Basic .NET] Public Sub AddElement ( _ ByVal Element As IElement, _ ByVal zorder As Integer _ )
[C#] public void AddElement ( IElement Element, int zorder );
[C++]
HRESULT AddElement(
IElement* Element,
long zorder
);
[C++] Parameters Element [in]
Element is a parameter of type IElement* zorder [in]
zorder is a parameter of type long
This method adds the input element the graphics container referenced. The parameter zorder is currently not utilized by all of the IGraphicsContainer implementations and is typically set to 0 when calling this method.