This document is archived and information here might be outdated. Recommended version. |
Removes the given element from the group.
[Visual Basic .NET] Public Sub DeleteElement ( _ ByVal Element As IElement _ )
[C#] public void DeleteElement ( IElement Element );
[C++]
HRESULT DeleteElement(
IElement* Element
);
[C++] Parameters Element [in]
Element is a parameter of type IElement*
DeleteElement is used to delete the element. If you want to remove the element from the group without deleting it, then it is necessary to maintain the reference to the element and re-add it to the GraphicsContainer after issuing the DeleteElement statement.