ArcGIS Pro 2.8 API Reference Guide
GetPixelData Method

ArcGIS.Core.Data.Raster Namespace > PixelBlock Class : GetPixelData Method
Index of a plane from this pixel block
Flag that indicates whether to get the array of pixels by reference (false) or value (true).
Gets a 2-dimensional array of pixels from this pixel block based on the given plane. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public Array GetPixelData( 
   int plane,
   bool makeCopy
)
Public Function GetPixelData( _
   ByVal plane As Integer, _
   ByVal makeCopy As Boolean _
) As Array

Parameters

plane
Index of a plane from this pixel block
makeCopy
Flag that indicates whether to get the array of pixels by reference (false) or value (true).

Return Value

An array of pixels from this pixel block based on the given plane.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

PixelBlock Class
PixelBlock Members