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


ITiledMapServer.GetLayerTile Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IT > ITiledMapServer Interface > ITiledMapServer.GetLayerTile Method
ArcGIS Developer Help

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
);
[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

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