This document is archived and information here might be outdated. Recommended version. |
Provides access to members that support reading a map document.
When writing your own custom server object use IMapReader to read an .mxd or .pmf.
Name | Description | |
---|---|---|
AccessInternalObjects | Indicates whether the internal objects of the map can be exposed to external clients. | |
Close | Clears out all of the map objects in memory. The client must call the Open method again before attempting any other operations. | |
DocumentInfo | A set of name-value pairs for properties set for the map document (mxd only). These properties are string values set in the map document's Map Properties dialog and include: Title, Subject, Author, Category, Keywords and Comments. | |
Map | The map object at the specified index. | |
MapCount | The number of maps (data frames) in the document. | |
Open | Opens an mxd or pmf file stored at the specified path. | |
PageLayout | The PageLayout object. | |
Thumbnail | The thumbnail stored in the map document. |
CoClasses and Classes | Description |
---|---|
MapReader | The MapReader component provides programmatic access to the contents of a map document. |
MapReader is a helper coclass that reads the contents of a map document file (.mxd and .pmf). The IMapReader interface provides read-only access to: document information (DocumentInfo), the map object (Map), the number of map objects within the document (MapCount), the page layout object (PageLayout), and the thumbnail image stored in the document.