STK Graphics PrimitivesSend comments on this topic.
Display Property (IAgStkGraphicsPrimitive)
See Also
Windows





Windows & Linux

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 Display
);
[Java]
public bool getDisplay();
public void setDisplay(
    bool
);
[Python - STK API ]
@property
def Display(self) -> bool:

@Display.setter
def Display(self, Display:bool) -> None:

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

© 2024 Analytical Graphics, Inc. All Rights Reserved.