Creates a new document in memory taking into account whether application-driven prompts should be shown.

Namespace:  ESRI.ArcGISExplorer.Application

Assembly:  ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public static void NewDocument(
	bool showPrompts
)
Visual Basic (Declaration)
Public Shared Sub NewDocument ( _
	showPrompts As Boolean _
)

Parameters

showPrompts
Type: System..::.Boolean

trueTruetruetrue (True in Visual Basic) to show application-driven dialogs; otherwise, falseFalsefalsefalse (False in Visual Basic) to suppress them.

Remarks

The document will be given a default name of the following format - "MapX" where X is is a number that makes the file unique in the MyDocuments\ArcGIS Explorer folder. Should you wish to save the map document then call the SaveDocument immediately.

See the remarks section of the LoadDocument method for more information about the prompts that can be suppressed.

Version Information: This method is supported from version 2.0.0.1500.

See Also