ArcObjects Library Reference (PublisherControls)  

IARGlobeControlDefault.ReloadDocument Method

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
);
[C#]

Optional Values

sPassword   Supply as a default value.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

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.

See Also

IARGlobeControlDefault Interface