ArcGIS Pro 2.8 API Reference Guide
CreateDefaultRaster Method

ArcGIS.Core.Data.Raster Namespace > BasicRasterDataset Class : CreateDefaultRaster Method
Creates a Raster that has the same properties of this basic raster dataset. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public Raster CreateDefaultRaster()
Public Function CreateDefaultRaster() As Raster

Return Value

The Raster created from this basic raster dataset.
Remarks
The CreateDefaultRaster method creates a Raster that has a square cell size and contains only three raster bands if the basic raster dataset has more than three bands. The three bands used to create the raster are the default bands used in the ArcGIS.Core.CIM.CIMRasterRGBColorizer.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

BasicRasterDataset Class
BasicRasterDataset Members