Creates a presentation step that opens a specified TerraExplorer tool (i.e. Power Lines, GPS Tracking).
JavaScript |
|
CreateOpenToolStep( AdvancedType, WaitTime, Description, tool) |
C# |
|
IPresentationStep66 CreateOpenToolStep( PresentationStepContinue AdvancedType, int WaitTime, string Description, int tool) |
C++ |
|
HRESULT CreateOpenToolStep( PresentationStepContinue AdvancedType, long WaitTime, BSTR Description, long tool, 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.
tool
The TerraExplorer tool to open.
Return Value
Step
An IPresentationStep66 representing the open tool step that was created.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.