Interface IPixelBlock2

Namespace
ESRI.ArcGIS.DatasourcesRaster
Assembly
ESRI.Server.DatasourcesRaster.dll

Provides access to members that control a PixelBlock.

[Guid("22DDED84-D0A6-448E-95BE-284503AC9CAC")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IPixelBlock2

Remarks

Recomment to use IPixelBlock3 interface.

Properties

BytesPerPixel

The number of bytes per pixel for the PixelBlock.

int BytesPerPixel { get; }

Property Value

int

Height

The height of the PixelBlock in pixels.

int Height { get; }

Property Value

int

PixelType[int]

The pixel type of the PixelBlock.

rstPixelType PixelType[int plane] { get; set; }

Parameters

plane int

Property Value

rstPixelType

Planes

The number of pixel arrays contained in the PixelBlock.

int Planes { get; }

Property Value

int

SafeArrayByRef[int]

A variant SafeArray of pixels for a specified plane.

object SafeArrayByRef[int plane] { get; }

Parameters

plane int

Property Value

object

Width

The width of the PixelBlock in pixels.

int Width { get; }

Property Value

int

Methods

GetVal(int, int, int)

The value for a specified pixel.

object GetVal(int plane, int x, int y)

Parameters

plane int
x int
y int

Returns

object