ArcGIS Pro 2.7 API Reference Guide
GetWidth Method (Raster)

ArcGIS.Core.Data.Raster Namespace > Raster Class : GetWidth Method
Gets the width (number of columns) of this raster. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public int GetWidth()
Public Function GetWidth() As Integer

Return Value

An integer representing the width (number of columns) in this raster.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Raster Class
Raster Members