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





Windows & Linux

Description

Initializes a time display condition with a Time Interval.

Syntax

[Visual Basic .NET]
Public Function InitializeWithTimeInterval( _
    ByVal TimeInterval As System.Array _
) As IAgStkGraphicsTimeIntervalDisplayCondition
[C#]
public IAgStkGraphicsTimeIntervalDisplayCondition InitializeWithTimeInterval(
    System.Array TimeInterval
);
[Managed C++]
public: IAgStkGraphicsTimeIntervalDisplayCondition^ InitializeWithTimeInterval(
    System::Array ^ TimeInterval
);
[Unmanaged C++]
public: HRESULT InitializeWithTimeInterval(
    SAFEARRAY * * TimeInterval,
    IAgStkGraphicsTimeIntervalDisplayCondition ** ppRetVal
);
[Java]
public IAgStkGraphicsTimeIntervalDisplayCondition initializeWithTimeInterval(
    AgSafeArray TimeInterval
);
[Python - STK API ]
def InitializeWithTimeInterval(self, TimeInterval:list) -> "IAgStkGraphicsTimeIntervalDisplayCondition":

Parameters

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

See Also

Example

Shows the format of the TimeInterval parameter when creating a time interval display condition.
[C#]
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]
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)
© 2024 Analytical Graphics, Inc. All Rights Reserved.