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





Description

Remove the specified element.

Syntax

[Visual Basic .NET]
Public Sub Remove( _
   ByVal DrawElem As IAgDrawElem _
) 

[C#]
public void Remove(
IAgDrawElem DrawElem
);

[Managed C++]
public: void Remove(
IAgDrawElem ^ DrawElem
);

[Java]
public  remove(
IAgDrawElem DrawElem
);

[Unmanaged C++]
public: HRESULT Remove(
IAgDrawElem * 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.

Example

[Visual Basic .NET] Copy Code
Dim curRect As AGI.STKX11.AgDrawElemRect
...
Me.AxAgUiAxVOCntrl1.DrawElements.Remove(curRect)

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1