Close the map document.
[Visual Basic .NET]
Public Sub Close ( _
)
[C#]
public void Close (
);
[C++]
HRESULT Close(
void
);
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
Closes the MapDocument. This sets the DocumentFilename property to an empty string and resets the ActiveView, PageLayout, Map, MapCount, Printer and Thumbnail properties.
See Also
IMapDocument Interface
.NET Samples
Implementing a property page for an ArcGIS Engine application (Code Files:
frmMain) |
Save a layer file in a MapControl application (Code Files:
frmMain) |
Schematics Engine application (Code Files:
MainForm) |
Simple dynamic display application (Code Files:
MainForm) |
Synchronized MapControl and PageLayoutControl application (Code Files:
frmMain) |
Temporal statistics (Code Files:
MainForm) |
.NET Related Topics
How to create a mosaic layer |