Provides access to members that control a PixelBlock.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
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.
Members
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 that implement IPixelBlock3
CoClasses and Classes | Description |
---|---|
PixelBlock | ESRI PixelBlock, a container of pixel data. |