STK X Send comments on this topic.
DrawElements Property (AgUiAxVOCntrl)
See Also  Example

Windows & Linux


Elements to draw on the control.

Property type

Read-only property


[Visual Basic .NET]
Public Property DrawElements() As AgDrawElemCollection

public AgDrawElemCollection DrawElements {get;}

[Managed C++]
public: __property AgDrawElemCollection^ get_DrawElements();

[Unmanaged C++]
public: HRESULT get_DrawElements(
AgDrawElemCollection ** ppRetVal

public AgDrawElemCollection getDrawElements();


The DrawElements collection contains a list of elements to display on the Globe control. Currently only rectangles are supported so rubber-band selection and interaction is possible.


[Visual Basic .NET] Copy Code
Dim r As AGI.STKX.AgDraw2DElemRect
Set r = Me.AxAgUiAxVOCntrl1.DrawElements.Add("Rect")

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK Engine for UNIX 11.3.0