Opens the specified MapDocument in
preparation for reading it.
[Visual Basic .NET] |
---|
Public Sub OpenMapDocument( _
ByVal MapDocument As String, _
ByVal Password As String _
)
|
[C#] |
---|
public void OpenMapDocument(
|
[Managed C++] |
---|
public: void OpenMapDocument(
|
[Java] |
---|
public openMapDocument(
|
[Unmanaged C++] |
---|
public: HRESULT OpenMapDocument(
|
- MapDocument
- Map document to open.
- Password
- Password if the MapDocument is password protected or blank.
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.