ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / BasicRasterDataset Class / CreateDefaultRaster Method

In This Topic
    CreateDefaultRaster Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also