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

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

IPixelReader Interface

Provides access to members that control a pixel reader. Note: the IPixelReader interface has been superseded by IPixelReader2. Please consider using the more recent version.

Product Availability

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


Name Description
Read-only property BandCount The number of source bands.
Read-only property CellSize The source original cell size.
Read-only property Extent The source full extent.
Read-only property FirstPyramidLevel The first available source pyramid level.
Method GetResolution Gets X and Y resolution (cellsize) at a given level.
Read-only property MaximumPyramidLevel The maximum available source pyramid level.
Read-only property PixelType The source pixel type.
Read/write property PyramidLevel The current source pyramid level.
Method Read Reads a pixel block.
Method Snap Snaps a given cellsize to a proper pyramid level.

Classes that implement IPixelReader

Classes Description
SimplePixelReader A simple pixel resampler class.


IPixelReader is a generic interface that is supported by any pixel reader, which provides pixel reading for  RasterXformer.

The concrete pixel reader used in ArcGIS is SimplePixelReader. User can create a custom pixel reader by implementing this interface.