ArcObjects Library Reference  (Carto)    

ITiledMapServer.GetLayerTile Method

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

[Visual Basic 6.0]
Function GetLayerTile(
    ByVal MapName As String, _
    ByVal LayerID As Long, _
    ByVal level As Long, _
    ByVal Row As Long, _
    ByVal column As Long _
)() As Byte
[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
);
[Java]
public Byte[] getLayerTile (
    String MapName,
    int LayerID,
    int level,
    int Row,
    int column
)
throws
    IOException,
    AutomationException
[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