ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / RasterBandDefinition Class / GetHeight Method

GetHeight Method (RasterBandDefinition)
Gets the height (number of rows) of the raster band. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public int GetHeight()

Return Value

An integer representing the height (number of rows) of the raster band.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also