This document is archived and information here might be outdated.  Recommended version.


IMapCooker Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapCooker Interface

Provides access to members that controls a map cache generator. Note: the IMapCooker interface has been superseded byIMapCooker2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method AddCachedLayers Adds all cached layers in the map cache.
Method AddLayer Adds a layer to the map cache.
Read/write property Antialiasing Indicates if antialiasing should be used.
Method Clear Clears cache for a given layer within a given extent.
Method ClearAll Clears cache for all layers.
Method Connect Connects to a given map and its cache.
Method Delete Deletes map service cache directory.
Method Draw Draws a given layer to the specified display.
Method Exit Exits the map cache generator host process.
Read/write property Extent The map cache extent.
Read/write property Format The tile cache format.
Method Generate Fully generates cache for a given layer.
Method GetCacheDirectory Gets cache directory for a given layer.
Method GetTile Gets a tile for a given tile location from a given layer.
Method HasCache Indicates if there is any cache.
Method HasLayerCache Indicates if there is a cache for a given layer.
Read/write property MaxTileCount The maximum number of map tiles to be generated.
Read-only property NumLevels The number of map cache levels.
Read/write property Path The map cache path.
Method PutTile Puts a tile for a given tile location for a given layer.
Method PutTilePosition Sets the current map tile position.
Method QueryTilePosition Queries for the current map tile position.
Method SetDefaultLODInfos Sets default LOD Info for a given number of levels.
Method Snap Snaps a view extent to one of map cache levels.
Read/write property TileCacheInfo The tile cache info.
Method Update Updates cache for a given layer within a given extent.

CoClasses that implement IMapCooker

CoClasses and Classes Description
ImageCooker ImageCooker Class.
MapCookerX (esriCartoX) A map cache generator class.