ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / Raster Class / SetWidth Method
The width (number of columns) to set.

SetWidth Method (Raster)
Sets the width (number of columns) of this raster. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetWidth( 
   int width
)

Parameters

width
The width (number of columns) to set.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also