AGI STK VGT 11Send comments on this topic.
SetStopEpoch Method (IAgCrdnEventIntervalSmartInterval)
See Also
StopEpoch
Windows






Windows & Linux

Description

Sets a stop of the interval using specified epoch component.

Syntax

[Visual Basic .NET]
Public Sub SetStopEpoch( _
    ByVal StopEpoch As IAgCrdnEventSmartEpoch _
) As 
[C#]
public void SetStopEpoch(
    IAgCrdnEventSmartEpoch StopEpoch
);
[Managed C++]
public: void SetStopEpoch(
    IAgCrdnEventSmartEpoch ^ StopEpoch
);
[Java]
public void setStopEpoch(
    IAgCrdnEventSmartEpoch StopEpoch
);
[Unmanaged C++]
public: HRESULT SetStopEpoch(
    IAgCrdnEventSmartEpoch * StopEpoch
);

Parameters

StopEpoch

See Also

Example

Configure the start and stop epoch time with smart epochs.
[C#]
smartInterval.State = AgECrdnSmartIntervalState.eCrdnSmartIntervalStateStartStop;

IAgCrdnEventSmartEpoch accessStartEpoch = smartInterval.GetStartEpoch();
accessStartEpoch.SetImplicitTime(startEventEpoch);
smartInterval.SetStartEpoch(accessStartEpoch);

IAgCrdnEventSmartEpoch accessStopEpoch = smartInterval.GetStopEpoch();
accessStopEpoch.SetImplicitTime(stopEventEpoch);
smartInterval.SetStopEpoch(accessStopEpoch);
Configure the start and stop epoch time with smart epochs.
[Visual Basic .NET]
smartInterval.State = AgECrdnSmartIntervalState.eCrdnSmartIntervalStateStartStop

Dim accessStartEpoch As IAgCrdnEventSmartEpoch = smartInterval.GetStartEpoch()
accessStartEpoch.SetImplicitTime(startEventEpoch)
smartInterval.SetStartEpoch(accessStartEpoch)

Dim accessStopEpoch As IAgCrdnEventSmartEpoch = smartInterval.GetStopEpoch()
accessStopEpoch.SetImplicitTime(stopEventEpoch)
smartInterval.SetStopEpoch(accessStopEpoch)
© 2019 Analytical Graphics, Inc. All Rights Reserved.