Provides access to members that support reading a map document.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
When To Use
When writing your own custom server object use IMapReader to read an .mxd or .pmf.
Members
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 that implement IMapReader
CoClasses and Classes | Description |
---|---|
MapReader | The MapReader component provides programmatic access to the contents of a map document. |
Remarks
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.