AGI STK Objects 11 Send comments on this topic.
SetDisplayStatusType Method (IAgDisplayTm)
See Also  Example
DisplayStatus





Description

Sets the display status type.

Syntax

[Visual Basic .NET]
Public Sub SetDisplayStatusType( _
   ByVal DisplayStatus As AgEDisplayTimesType _
) 

[C#]
public void SetDisplayStatusType(
AgEDisplayTimesType DisplayStatus
);

[Managed C++]
public: void SetDisplayStatusType(
AgEDisplayTimesType DisplayStatus
);

[Java]
public  setDisplayStatusType(
AgEDisplayTimesType DisplayStatus
);

[Unmanaged C++]
public: HRESULT SetDisplayStatusType(
AgEDisplayTimesType DisplayStatus
);

Parameters

DisplayStatus
Member Value Description
eDisplayTypeUnknown -1 Unknown display type.
eAlwaysOff 0 Graphics for the object never display.
eAlwaysOn 1 Graphics for the object always display.
eDuringAccess 2 Graphics for the object display during access to specified objects.
eUseIntervals 3 Graphics for the object display during user-defined intervals.
eDuringChainAccess 4 Graphics for the object display during chain access.
eUseTimeComponent 5 Graphics for the object display during the intervals provided by an interval or interval list time component.

Example

Set STK Object Display to always on
[C#] Copy Code
IAgDisplayTm display = stkObject as IAgDisplayTm; 
display.SetDisplayStatusType(AgEDisplayTimesType.eAlwaysOn); 
 

Set STK Object Display to always on
[Visual Basic .NET] Copy Code
Dim display As IAgDisplayTm = TryCast(stkObject, IAgDisplayTm)
display.SetDisplayStatusType(AgEDisplayTimesType.eAlwaysOn)

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1