This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IImageServer3 Interface > IImageServer3.GetPixelBlock Method (ArcObjects .NET 10.5 SDK) |
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
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.
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.