ArcObjects Library Reference (Carto) |
|
IMapDocument.Close Method
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
Synchronized MapControl and PageLayoutControl application (Code Files:
frmMain) |
Simple dynamic display application (Code Files:
MainForm) |
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) |
Temporal statistics (Code Files:
MainForm)
.NET Related Topics
How to create a mosaic layer