Interface IPixelBlock3

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

Provides access to members that control a PixelBlock.

[Guid("0ED55C8F-1EC2-4B40-A5D9-F3DA548F1F40")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IPixelBlock3

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

NoDataMask[int]

The NoData mask for a specified plane.

object NoDataMask[int plane] { get; set; }

Parameters

plane int

Property Value

object

NoDataMaskByRef[int]

The NoData mask for a specified plane.

object NoDataMaskByRef[int plane] { get; }

Parameters

plane int

Property Value

object

Remarks

The NoDataMaskByRef property returns a one-dimensional array of NoData mask by reference.

PixelData[int]

An array of pixels for a specified plane.

object PixelData[int plane] { get; set; }

Parameters

plane int

Property Value

object

Remarks

The PixelData property specifies the pixel values of the specified raster band.

PixelDataByRef[int]

A pointer to an array of pixels for a specified plane.

object PixelDataByRef[int plane] { get; }

Parameters

plane int

Property Value

object

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

Remarks

The Planes property returns the number of bands in the PixelBlock.

Width

The width of the PixelBlock in pixels.

int Width { get; }

Property Value

int

Methods

Clear(int)

Clears a given plane (sets to NoData).

void Clear(int plane)

Parameters

plane int

GetNoDataMaskVal(int, int, int)

Gets the NoData mask value for a specified pixel.

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

Parameters

plane int
x int
y int

Returns

object

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

HasNoData(int)

Checks if this PixelBlock contains NoData.

bool HasNoData(int plane)

Parameters

plane int

Returns

bool

Mask(object)

Generates NoData Mask using a given NoData value.

void Mask(object NoData)

Parameters

NoData object