STK X Send comments on this topic.
Remove Method (AgDrawElemCollection)
See Also  Example
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 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

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface