Unloads the currently loaded Published Map File (*.PMF) from the control.
[Visual Basic 6.0] Sub UnloadDocument As Empty
[Visual Basic .NET]
Public Sub UnloadDocument ( _
)
[C#] public void UnloadDocument ( );
The UnloadDocument method removes the currently loaded PMF document from the ArcReaderGlobeControl and causes the DocumentFilename property to update itself with an empty string. At this point the ArcReaderGlobeControl is empty.
2003 800A07D3: No document loaded.
The UnloadDocument method triggers the following events:
OnDocumentUnloaded