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


IPixelBlock3.PixelData Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IP > IPixelBlock3 Interface > IPixelBlock3.PixelData Property
ArcGIS Developer Help

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