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





Description

Elements to draw on the control.

Property type

Read-only property

Syntax

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

[C#]
public AgDrawElemCollection DrawElements {get;}

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

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

[Java]
public AgDrawElemCollection getDrawElements();

Remarks

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.

Example

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

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1