This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IT > ITiledMapServer2 Interface > ITiledMapServer2.GetTileImageInfo Method (ArcObjects .NET 10.4 SDK) |
Gets the cache tile image information for a given map.
[Visual Basic .NET] Public Function GetTileImageInfo ( _ ByVal MapName As String _ ) As ITileImageInfo
[C#] public ITileImageInfo GetTileImageInfo ( string MapName );
[C++]
HRESULT GetTileImageInfo(
BSTR MapName,
ITileImageInfo** ppCacheInfo
);
[C++]
Parameters MapName [in] MapName is a parameter of type BSTR ppCacheInfo [out, retval]
ppCacheInfo is a parameter of type ITileImageInfo
GetTileIMageInfo returns information describing the image format for the cached tiles. TileImageInfo has two main properties Format and Compression quality. Format can have values (PNG8, PNG24, PNG32 and JPEG). If the selected format is JPEG, then the compression quality can have a value from 0 to 100. The value of format must be used in constructing the url to the tile.