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






Windows & Linux

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
MemberValueDescription
eDisplayTypeUnknown-1Unknown display type.
eAlwaysOff0Graphics for the object never display.
eAlwaysOn1Graphics for the object always display.
eDuringAccess2Graphics for the object display during access to specified objects.
eUseIntervals3Graphics for the object display during user-defined intervals.
eDuringChainAccess4Graphics for the object display during chain access.
eUseTimeComponent5Graphics 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

© 2018 Analytical Graphics, Inc. All Rights Reserved.