ArcObjects Library Reference (Carto)  

IImageServer3.GetPixelBlock Method

Gets a pixel block at a given block location.

[Visual Basic .NET]
Public Function GetPixelBlock ( _
    ByVal RID As Integer, _
    ByVal tx As Integer, _
    ByVal ty As Integer, _
    ByVal Level As Integer _
) As Byte[]
[C#]
public Byte[] GetPixelBlock (
    int RID,
    int tx,
    int ty,
    int Level
);
[C++]
HRESULT GetPixelBlock(
  long RID,
  long tx,
  long ty,
  long Level,
  pData* pData
);
[C++]

Parameters

RID [in]   RID is a parameter of type long tx [in]   tx is a parameter of type long ty [in]   ty is a parameter of type long Level [in]   Level is a parameter of type long pData [out, retval]   pData is a parameter of type

Product Availability

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

Description

Gets a pixel block from an image at a given raster ID and at block/tile location (tx, ty). A raster ID (RID) is the object ID of the catalog item containing the image.

Remarks

The returned binary pixel block data is of the same format as that returned from GetImage().

The pixel block is positioned using block/tile column and row numbers based on a tiling scheme, i.e. the tile origin, the pixel size, and tile size. The tiling information on an image can be obtained using GetRasterInfo method.

See Also

IImageServer3 Interface