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






Windows & Linux

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

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK Engine for UNIX 11.2