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

IPixelBlock2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IP > IPixelBlock2 Interface
ArcGIS Developer Help

IPixelBlock2 Interface

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

Product Availability

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


Name 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.

Classes that implement IPixelBlock2

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


Recomment to use IPixelBlock3 interface.