CreateGroupTimeRangeStep

Creates a presentation step that adjusts the Date and Time slider range according to the selected group’s start and end date and time.

 

JavaScript

 

CreateGroupTimeRangeStep(

       AdvancedType,

       WaitTime,

       Description,

       GroupID)

 

C#

 

IPresentationStep66 CreateGroupTimeRangeStep(

       PresentationStepContinue AdvancedType,

       int WaitTime,

       string Description,

       string GroupID)

 

C++

 

HRESULT CreateGroupTimeRangeStep(

       PresentationStepContinue AdvancedType,

       long WaitTime,

       BSTR Description,

       BSTR GroupID,

       IPresentationStep66** Step)

Parameters

AdvancedType

An enum that determines how the presentation advances to the next step. The following are its possible values:

·          PSC_MOUSECLICK = 0
On mouse click.

·          PSC_WAIT = 1
Automatically after the preset wait time.

WaitTime

After performing the step, the number of seconds to wait before the presentation should advance to the next step.

Description

A string describing the step that displays in the Presentation Editor. If an empty string is passed into this parameter, TerraExplorer assigns it a unique name.

GroupID

The ID of the group whose time and date range should be used to adjust the Date and Time slider when this presentation step is reached.

Return Value

Step

An IPresentationStep66 representing the group time range step that was created.

Exceptions

See:  HRESULT Return Values for a list of possible values returned by the HRESULT.