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


IPixelBlock2.GetVal Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IPixelBlock2.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,
  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.

See Also

IPixelBlock2 Interface