This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARGlobeControl Interface > IARGlobeControl.ReloadDocument Method (ArcObjects .NET 10.5 SDK) |
Reloads the currently loaded Published Map File (*.PMF) back into the control.
[Visual Basic .NET] Public Sub ReloadDocument ( _ [ByVal sPassword As String] _ )
[C#] public void ReloadDocument ( string sPassword );
Optional Values
The ReloadDocument method loads the currently loaded Published Map File back into the ArcReaderGlobeControl. This resets the ArcReaderGlobeControl to the state of the Published Map File on disk, resetting the view, the extent of the view and layer visibility.
If a document was password protected when it was published and the password is not passed within the LoadDocument method, the user will be prompted automatically for a password. If an incorrect password is supplied twice in succession a custom error will be returned.
2003 800A07D3: No document loaded.
The ReloadDocument method triggers the following events:
OnDocumentUnloaded
OnDocumentLoaded