ArcGIS Pro 2.9 API Reference Guide
SetWidth Method (Raster)

ArcGIS.Core.Data.Raster Namespace > Raster Class : SetWidth Method
The width (number of columns) to set.
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
)
Public Sub SetWidth( _
   ByVal width As Integer _
) 

Parameters

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

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

Raster Class
Raster Members