Home > All Other Interfaces > IPresentation > CreateShowGroupStep

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#

 

IPresentationStep6 CreateShowGroupStep(

      PresentationStepContinue AdvancedType,

      int WaitTime,

      string Description,

      int GroupID,

      bool Show)

 

C++

 

HRESULT CreateShowGroupStep(

      PresentationStepContinue AdvancedType,

      long WaitTime,

      BSTR Description,

      LONG_PTR GroupID,

      VARIANT_BOOL Show,

      IPresentationStep6** 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 IPresentationStep6 representing the show group step that was created.

Exceptions

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