ArcGIS Pro 2.9 API Reference Guide
SetExtent Method

ArcGIS.Core.Data.Raster Namespace > Raster Class : SetExtent Method
The extent to set.
Sets the extent of this raster. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetExtent( 
   Envelope extent
)
Public Sub SetExtent( _
   ByVal extent As Envelope _
) 

Parameters

extent
The extent to set.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

Raster Class
Raster Members