ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / RasterDatasetDefinition Class
Members Example

In This Topic
    RasterDatasetDefinition Class
    In This Topic
    Represents the properties of a RasterDataset.
    Object Model
    RasterDatasetDefinition ClassEnvelope ClassSpatialReference Class
    Syntax
    public sealed class RasterDatasetDefinition : ArcGIS.Core.Data.Definition, System.IDisposable  
    Public NotInheritable Class RasterDatasetDefinition 
       Inherits ArcGIS.Core.Data.Definition
       Implements System.IDisposable 
    Example
    Get the raster dataset definition from a raster dataset
    await QueuedTask.Run(() =>
    {
      RasterDatasetDefinition rasterDatasetDefinition = rasterDataset.GetDefinition();
    
      // access the dataset definition properties
      rasterDatasetDefinition.GetBandCount();
    });
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.CoreObjectsBase
          ArcGIS.Core.Data.Definition
             ArcGIS.Core.Data.Raster.RasterDatasetDefinition

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also