AGI STK Esri Display 11 Send comments on this topic.
OpenMapDocument Method (IAgEsri3dRenderer)
See Also 
MapDocument
Map document to open.
Password
Password if the MapDocument is password protected or blank.





Description

Opens the specified MapDocument in preparation for reading it.

Syntax

[Visual Basic .NET]
Public Sub OpenMapDocument( _
   ByVal MapDocument As String, _
   ByVal Password As String _
) 

[C#]
public void OpenMapDocument(
string MapDocument,
string Password
);

[Managed C++]
public: void OpenMapDocument(
String __gc ^ MapDocument,
String __gc ^ Password
);

[Java]
public  openMapDocument(
String MapDocument,
String Password
);

[Unmanaged C++]
public: HRESULT OpenMapDocument(
BSTR MapDocument,
BSTR Password
);

Parameters

MapDocument
Map document to open.
Password
Password if the MapDocument is password protected or blank.

Remarks

This function returns immediately before actually opening the map document. It just starts a new GIS thread for the scene associated with the renderer, and returns. Consequently the map document will be opened in the new thread. The result of the operation will then be communicated through the OnMapDocumentOpened and OnMapDocumentOpenFailed events.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1