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


IPixelBlock2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IPixelBlock2 Interface

Provides access to members that control a PixelBlock. Note: the IPixelBlock2 interface has been superseded byIPixelBlock3. Please consider using the more recent version.

Product Availability

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

Members

Description
Read-only property BytesPerPixel The number of bytes per pixel for the PixelBlock.
Method GetVal The value for a specified pixel.
Read-only property Height The height of the PixelBlock in pixels.
Read/write property PixelType The pixel type of the PixelBlock.
Read-only property Planes The number of pixel arrays contained in the PixelBlock.
Read-only property SafeArrayByRef A variant SafeArray of pixels for a specified plane.
Read-only property Width The width of the PixelBlock in pixels.

CoClasses that implement IPixelBlock2

CoClasses and Classes Description
PixelBlock Esri PixelBlock, a container of pixel data.

Remarks

Recomment to use IPixelBlock3 interface.