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


IPixelBlock3.PixelData Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IPixelBlock3.PixelData Property

An array of pixels for a specified plane.

[Visual Basic .NET]
Public Function get_PixelData ( _
    ByVal plane As Integer _
) As Object
[Visual Basic .NET]
Public Sub set_PixelData ( _
    ByVal plane As Integer, _
    ByVal pVal As Object _
)
[C#]
public object get_PixelData (
    int plane
);
[C#]
public void set_PixelData (
    int plane,
    object pVal
);
[C++]
HRESULT get_PixelData(
  long plane,
  VARIANT* pVal
);
[C++]
HRESULT put_PixelData(
  long plane,
  VARIANT pVal
);
[C++]

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

Product Availability

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

Remarks

The PixelData property specifies the pixel values of the specified raster band.

See Also

IPixelBlock3 Interface

.NET Samples

Create a custom raster function (Code Files: WatermarkFunction)

.NET Related Topics

DataSourcesRaster | How to access pixel data using a raster cursor | How to create a raster dataset