ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / Raster Class / SetExtent Method
The extent to set.

SetExtent Method
Sets the extent of this raster. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetExtent( 
   Envelope extent
)

Parameters

extent
The extent to set.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also