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


IPixelBlock.GetVal Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IPixelBlock.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* val
);
[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 val [out, retval] val is a parameter of type VARIANT

Product Availability

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

See Also

IPixelBlock Interface