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
Height
The height of the PixelBlock in pixels.
int Height { get; }
Property Value
NoDataMask[int]
The NoData mask for a specified plane.
object NoDataMask[int plane] { get; set; }
Parameters
planeint
Property Value
NoDataMaskByRef[int]
The NoData mask for a specified plane.
object NoDataMaskByRef[int plane] { get; }
Parameters
planeint
Property Value
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
planeint
Property Value
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
planeint
Property Value
PixelType[int]
The pixel type of the PixelBlock.
rstPixelType PixelType[int plane] { get; set; }
Parameters
planeint
Property Value
Planes
The number of pixel arrays contained in the PixelBlock.
int Planes { get; }
Property Value
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
Methods
Clear(int)
Clears a given plane (sets to NoData).
void Clear(int plane)
Parameters
planeint
GetNoDataMaskVal(int, int, int)
Gets the NoData mask value for a specified pixel.
object GetNoDataMaskVal(int plane, int x, int y)
Parameters
Returns
GetVal(int, int, int)
The value for a specified pixel.
object GetVal(int plane, int x, int y)
Parameters
Returns
HasNoData(int)
Checks if this PixelBlock contains NoData.
bool HasNoData(int plane)
Parameters
planeint
Returns
Mask(object)
Generates NoData Mask using a given NoData value.
void Mask(object NoData)
Parameters
NoDataobject