ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / RasterDataset Class / CreateRaster Method
A set of band indices to use to create the Raster. For example, [0,1,2].

In This Topic
    CreateRaster Method
    In This Topic
    Creates a Raster that has the same properties and the given list of bands from this raster dataset. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public Raster CreateRaster( 
       IEnumerable<int> bandIDs
    )
    Public Function CreateRaster( _
       ByVal bandIDs As IEnumerable(Of Integer) _
    ) As Raster

    Parameters

    bandIDs
    A set of band indices to use to create the Raster. For example, [0,1,2].

    Return Value

    The Raster created from this raster dataset.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also