IPixelReader Interface

Provides access to members that control a pixel reader.

Members

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.

IPixelReader.BandCount Property

The number of source bands.

Public ReadOnly Property BandCount As Integer
public int BandCount {get;}

IPixelReader.CellSize Property

The source original cell size.

Public ReadOnly Property CellSize As IPnt
public IPnt CellSize {get;}

IPixelReader.Extent Property

The source full extent.

Public ReadOnly Property Extent As IEnvelope
public IEnvelope Extent {get;}

IPixelReader.FirstPyramidLevel Property

The first available source pyramid level.

Public ReadOnly Property FirstPyramidLevel As Integer
public int FirstPyramidLevel {get;}

IPixelReader.GetResolution Method

Gets X and Y resolution (cellsize) at a given level.

Public Sub GetResolution ( _
    ByVal Level As Integer, _
    ByRef pXResolution As Double, _
    ByRef pYResolution As Double _
)
public void GetResolution (
    int Level,
    ref double pXResolution,
    ref double pYResolution
);

IPixelReader.MaximumPyramidLevel Property

The maximum available source pyramid level.

Public ReadOnly Property MaximumPyramidLevel As Integer
public int MaximumPyramidLevel {get;}

IPixelReader.PixelType Property

The source pixel type.

Public ReadOnly Property PixelType As rstPixelType
public rstPixelType PixelType {get;}

IPixelReader.PyramidLevel Property

The current source pyramid level.

Public Property PyramidLevel As Integer
public int PyramidLevel {get; set;}

IPixelReader.Read Method

Reads a pixel block.

Public Sub Read ( _
    ByVal tlc As IPnt, _
    ByVal pPixelBlock As IPixelBlock _
)
public void Read (
    IPnt tlc,
    IPixelBlock pPixelBlock
);

IPixelReader.Snap Method

Snaps a given cellsize to a proper pyramid level.

Public Function Snap ( _
    ByVal Dx As Double, _
    ByVal Dy As Double _
) As Integer
public int Snap (
    double Dx,
    double Dy
);

Classes that implement IPixelReader

Classes Description
SimplePixelReader A simple pixel resampler class.

Remarks

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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close