This document is archived and information here might be outdated.  Recommended version.


IPixelBlock3.GetVal Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IP > IPixelBlock3 Interface > IPixelBlock3.GetVal Method
ArcGIS Developer Help

IPixelBlock3.GetVal Method

The value for a specified pixel.

[Visual Basic .NET]
Public Function GetVal ( _
    ByVal plane As Integer, _
    ByVal x As Integer, _
    ByVal y As Integer _
) As Object
[C#]
public object GetVal (
    int plane,
    int x,
    int y
);
[C++]
HRESULT GetVal(
  long plane,
  long x,
  long y
);
[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

Product Availability

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

Description

The GetVal method returns an individual value for the pixel specified by the band and pixel location input.

See Also

IPixelBlock3 Interface

.NET Samples

Create a custom NoData pixel filter