ArcObjects Library Reference (Carto)  

ITiledMapServer.GetLayerTile Method

Gets a tile for a given tile location from a given layer.

[Visual Basic .NET]
Public Function GetLayerTile ( _
    ByVal MapName As String, _
    ByVal LayerID As Integer, _
    ByVal Level As Integer, _
    ByVal Row As Integer, _
    ByVal column As Integer _
) As Byte[]
[C#]
public Byte[] GetLayerTile (
    string MapName,
    int LayerID,
    int Level,
    int Row,
    int column
);
[C++]
HRESULT GetLayerTile(
  BSTR MapName,
  long LayerID,
  long Level,
  long Row,
  long column,
  Data* Data
);
[C++]

Parameters

MapName [in]   MapName is a parameter of type BSTR LayerID [in]   LayerID is a parameter of type long Level [in]   Level is a parameter of type long Row [in]   Row is a parameter of type long column [in]   column is a parameter of type long Data [out, retval]   Data is a parameter of type

Product Availability

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

Remarks

This call gets the specified tile from the specified layer for a map service that has a multi layer cache. GetLayerTile method only returns a tile if the cache is generated using PNG format. When the cache format specified in the TileImageInfo is not PNG the client should use GetLayerTileEx.

See Also

ITiledMapServer Interface