CreateShowGroupStep

Creates a presentation step that hides a specified group from view or restores a previously hidden group to view.

 

JavaScript

 

CreateShowGroupStep(

       AdvancedType,

       WaitTime,

       Description,

       GroupID,

       Show)

 

C#

 

IPresentationStep66 CreateShowGroupStep(

       PresentationStepContinue AdvancedType,

       int WaitTime,

       string Description,

       string GroupID,

       bool Show)

 

C++

 

HRESULT CreateShowGroupStep(

       PresentationStepContinue AdvancedType,

       long WaitTime,

       BSTR Description,

       BSTR GroupID,

       VARIANT_BOOL Show,

       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 to display when this presentation step is reached.

Show

A Boolean that determines if the specified group shows or hides.

Return Value

Step

An IPresentationStep66 representing the show group step that was created.

Exceptions

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