ArcObjects Library Reference (DataSourcesRaster)  

IPixelBlock3.GetNoDataMaskVal Method

Gets the NoData mask value for a specified pixel.

[Visual Basic .NET]
Public Function GetNoDataMaskVal ( _
    ByVal plane As Integer, _
    ByVal x As Integer, _
    ByVal y As Integer _
) As Object
[C#]
public object GetNoDataMaskVal (
    int plane,
    int x,
    int y
);
[C++]
HRESULT GetNoDataMaskVal(
  long plane,
  long x,
  long y,
  VARIANT* pVal
);
[C++]

Parameters

plane [in]   plane is a parameter of type long x [in]   x is a parameter of type long y [in]   y is a parameter of type long pVal [out, retval]   pVal is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The GetNoDataMaskVal property allows you to identify whether a specific pixel is NoData or not. Value 1 means this corresponding pixel has a value and 0 means this corresponding pixel is NoData

See Also

IPixelBlock3 Interface

.NET Samples

Create a custom raster function (Code Files: WatermarkFunction) |