AGI STK Graphics 11 Send comments on this topic.
InitializeWithTimeInterval Method (IAgStkGraphicsTimeIntervalDisplayConditionFactory)
See Also  Example
TimeInterval
An array containing the time interval to assign to the display condition, in the order start time, stop time.





Description

Initializes a time display condition with a Time Interval.

Syntax

[Visual Basic .NET]
Public Function InitializeWithTimeInterval( _
   ByRef TimeInterval As System.Array _
) As IAgStkGraphicsTimeIntervalDisplayCondition

[C#]
public IAgStkGraphicsTimeIntervalDisplayCondition InitializeWithTimeInterval(
ref System.Array TimeInterval
);

[Managed C++]
public: IAgStkGraphicsTimeIntervalDisplayCondition^ InitializeWithTimeInterval(
System::Array ^^ TimeInterval
);

[Java]
public IAgStkGraphicsTimeIntervalDisplayCondition initializeWithTimeInterval(
Object[] TimeInterval
);

[Unmanaged C++]
public: HRESULT InitializeWithTimeInterval(
SAFEARRAY ** TimeInterval,
IAgStkGraphicsTimeIntervalDisplayCondition ** ReturnValue
);

Parameters

TimeInterval
An array containing the time interval to assign to the display condition, in the order start time, stop time.

Example

Shows the format of the TimeInterval parameter when creating a time interval display condition.
[C#] Copy Code
Array timeInterval = new object[] 

    "1 Jan 2012 12:00:00.000"
    "1 Jan 2012 14:00:00.000" 
}; 
 
sceneManager.Initializers.TimeIntervalDisplayCondition.InitializeWithTimeInterval(ref timeInterval); 
 

Shows the format of the TimeInterval parameter when creating a time interval display condition.
[Visual Basic .NET] Copy Code
Dim timeInterval As Array = New Object() {"1 Jan 2012 12:00:00.000", "1 Jan 2012 14:00:00.000"}

sceneManager.Initializers.TimeIntervalDisplayCondition.InitializeWithTimeInterval(timeInterval)

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1