AGI STK Graphics 11 Send comments on this topic.
Display Property (IAgStkGraphicsPrimitive)
See Also 





Description

Gets or sets if the primitive should be rendered. Both this and Display Condition must evaluate to true for the primitive to be rendered.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property Display() As Boolean

[C#]
public bool Display {get; set;}

[Managed C++]
public: __property bool get_Display();
public: __property void set_Display(
bool
);

[Unmanaged C++]
public: HRESULT get_Display(
VARIANT_BOOL * pRetVal
);
public: HRESULT put_Display(
VARIANT_BOOL NewDisplay
);

[Java]
public bool getDisplay();public void setDisplay(
bool
);

Remarks

A primitive must be added to the Primitive Manager before it is rendered. Once in the manager, setting this property to false is more efficient than removing the primitive from the manager. Although, it is recommended to remove the primitive from the manager if the primitive will be hidden for a long period of time.

For more control over when a primitive is rendered, see Display Condition.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1