OnSGWorld

This event occurs after a specified different TerraExplorer occurence (e.g. application closes or save process finishes).

 

JavaScript

 

OnSGWorld(

       EventID,

       EventParam)

 

C#

 

void OnSGWorld(

       int EventID,

       object EventParam)

 

C++

 

HRESULT OnSGWorld(

        long EventID,

        VARIANT EventParam)

Parameters

EventID

The event’s ID .This parameter can be either of the following values:

·         TEE_APP_CLOSING         = 6

·         TEE_SAVE_FINISHED      = 9

EventParam

This parameter is interpreted based on the EventID. For TEE_APP_CLOSING and TEE_SAVE_FINISHED, it is not used.

Exceptions

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