Home > All Other Interfaces > IPresentation > CreateShowObjectStep

CreateShowObjectStep

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

 

JavaScript

 

CreateShowObjectStep(

      AdvancedType,

      WaitTime,

      Description,

      ObjectID,

      Show)

 

C#

 

IPresentationStep6 CreateShowObjectStep(

      PresentationStepContinue AdvancedType,

      int WaitTime,

      string Description,

      string ObjectID,

      bool Show)

 

C++

 

HRESULT CreateShowObjectStep(

      PresentationStepContinue AdvancedType,

      long WaitTime,

      BSTR Description,

      BSTR ObjectID,

      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.

ObjectID

The ID of the object to display when this step is reached.

Show

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

Return Value

Step

An IPresentationStep6 representing the show object step that was created.

Exceptions

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