This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IP > IPixelBlock3 Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that control a PixelBlock.
The IPixelBlock3 interface provides all the functionality of IPixelBlock interface, plus more properties on mask based NoData and SafeArray handling.
Basically, there are two ways to work with NoData mask and pixel values. They are by value (PixelData and NoDataMask properties) and by reference (PixelDataByRef and NoDataMaskByRef). Normally passing pixel values by reference is recommented since it saves memory. However for Java and .Net, passing by value (PixelData) should be used.
Description | ||
---|---|---|
BytesPerPixel | The number of bytes per pixel for the PixelBlock. | |
Clear | Clears a given plane (sets to NoData). | |
GetNoDataMaskVal | Gets the NoData mask value for a specified pixel. | |
GetVal | The value for a specified pixel. | |
HasNoData | Checks if this PixelBlock contains NoData. | |
Height | The height of the PixelBlock in pixels. | |
Mask | Generates NoData Mask using a given NoData value. | |
NoDataMask | The NoData mask for a specified plane. | |
NoDataMaskByRef | The NoData mask for a specified plane. | |
PixelData | An array of pixels for a specified plane. | |
PixelDataByRef | A pointer to an array of pixels for a specified plane. | |
PixelType | The pixel type of the PixelBlock. | |
Planes | The number of pixel arrays contained in the PixelBlock. | |
Width | The width of the PixelBlock in pixels. |
CoClasses and Classes | Description |
---|---|
PixelBlock | Esri PixelBlock, a container of pixel data. |