LoadEx

Loads a fly file or terrain database into TerraExplorer.

LoadEx passes the user name and password for the Terrain Database opened. In addition, LoadEx can work in synchronous or asynchronous mode. In synchronous mode the method returns after the file is loaded. In synchronous mode, the method returns immediately. You can then use ITerraExplorerEvents4::OnLoadFinished() to be notified when the file is loaded .

 

HRESULT LoadEx(

 [in] BSTR URL,

 [in] BSTR User,

 [in] BSTR Password,

 [in, defaultvalue(0)] long Asynchronous)

Parameters:

Return Values:

S_OK if the method call succeeded.