ArcGIS Pro 2.9 API Reference Guide
GetNoDataMaskValue Method

ArcGIS.Core.Data.Raster Namespace > PixelBlock Class : GetNoDataMaskValue Method
Index of a plane from this pixel block
X offset in the given plane
Y offset in the given plane
Gets the NoData mask value for the given plane, column and row from this pixel block. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public object GetNoDataMaskValue( 
   int plane,
   int x,
   int y
)
Public Function GetNoDataMaskValue( _
   ByVal plane As Integer, _
   ByVal x As Integer, _
   ByVal y As Integer _
) As Object

Parameters

plane
Index of a plane from this pixel block
x
X offset in the given plane
y
Y offset in the given plane

Return Value

An object representing the NoData value for the given pixel.
Remarks
The NoData mask value allows you to identify whether a specific pixel is NoData or not. A value of 1 means this corresponding pixel has a value and 0 means this corresponding pixel is NoData.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

PixelBlock Class
PixelBlock Members