AGI STK X 11Send comments on this topic.
Remove Method (AgDrawElemCollection)
See Also
DrawElem
Element to remove from the collection.
Windows






Windows & Linux

Description

Remove the specified element.

Syntax

[Visual Basic .NET]
Public Sub Remove( _
    ByVal DrawElem As AgDrawElem _
) As 
[C#]
public void Remove(
    AgDrawElem DrawElem
);
[Managed C++]
public: void Remove(
    AgDrawElem ^ DrawElem
);
[Java]
public void remove(
    AgDrawElem DrawElem
);
[Unmanaged C++]
public: HRESULT Remove(
    AgDrawElem * DrawElem
);

Parameters

DrawElem
Element to remove from the collection.

Return Type

None. An automation exception is thrown if the element is not found in the collection.

See Also

Example

[Visual Basic .NET]
Dim curRect As AGI.STKX11.AgDrawElemRect
...
Me.AxAgUiAxVOCntrl1.DrawElements.Remove(curRect)
© 2019 Analytical Graphics, Inc. All Rights Reserved.