ArcGIS Pro 2.7 API Reference Guide
CreatePixelBlock Method

ArcGIS.Core.Data.Raster Namespace > Raster Class : CreatePixelBlock Method
Width of the pixel block to create.
Height of the pixel block to create.
Create a PixelBlock of the given width and height. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public PixelBlock CreatePixelBlock( 
   int width,
   int height
)
Public Function CreatePixelBlock( _
   ByVal width As Integer, _
   ByVal height As Integer _
) As PixelBlock

Parameters

width
Width of the pixel block to create.
height
Height of the pixel block to create.

Return Value

A PixelBlock of the given width and height.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Raster Class
Raster Members