Provides access to members that control a raster band object.
Members
Name | Description | |
---|---|---|
AttributeTable | The attribute table of this raster band. | |
Bandname | The name of this raster band. | |
CanCopy | Returns true if this dataset can be copied. | |
ClassNames | The class names (titles). | |
Colormap | The colormap of this raster band. | |
ComputeStatsAndHist | Calculates statistics and histogram if not previously stored. | |
ContrastTable | The contrast look-up table of this band. | |
Copy | Copies this raster band to a new dataset with the specified name. | |
DescriptorTable | The descriptor table of this raster band. | |
DirectlyOpened | Indicates if the band was opened directly. | |
HasColormap | Indicates if this band has a colormap. | |
HasStatistics | Indicates if this band has statistics. | |
HasTable | Indicates if this band has an attribute table. | |
Histogram | The histogram of this raster band. | |
RasterDataset | The RasterDataset associated with this raster band. | |
RepresentationType | The suggested representation type. | |
Statistics | The statistics of this raster band. |
IRasterBand.AttributeTable Property
The attribute table of this raster band.
Public ReadOnly Property AttributeTable As ITable
public ITable AttributeTable {get;}
IRasterBand.Bandname Property
The name of this raster band.
Public ReadOnly Property Bandname As String
public string Bandname {get;}
IRasterBand.CanCopy Method
Returns true if this dataset can be copied.
Public Function CanCopy ( _
) As Boolean
public bool CanCopy (
);
IRasterBand.ClassNames Property
The class names (titles).
Public ReadOnly Property ClassNames As IRasterClassNames
public IRasterClassNames ClassNames {get;}
IRasterBand.Colormap Property
The colormap of this raster band.
Public ReadOnly Property Colormap As IRasterColormap
public IRasterColormap Colormap {get;}
IRasterBand.ComputeStatsAndHist Method
Calculates statistics and histogram if not previously stored.
Public Sub ComputeStatsAndHist ( _
)
public void ComputeStatsAndHist (
);
IRasterBand.ContrastTable Property
The contrast look-up table of this band.
Public Property ContrastTable As IContrastTable
public IContrastTable ContrastTable {get; set;}
Remarks
This method should not be used by application developers.
IRasterBand.Copy Method
Copies this raster band to a new dataset with the specified name.
Public Function Copy ( _
ByVal copyName As String, _
ByVal copyWorkspace As IWorkspace _
) As IDataset
public IDataset Copy (
string copyName,
IWorkspace copyWorkspace
);
IRasterBand.DescriptorTable Property
The descriptor table of this raster band.
Public ReadOnly Property DescriptorTable As IDescTable
public IDescTable DescriptorTable {get;}
Remarks
This method should not be used by application developers.
IRasterBand.DirectlyOpened Property
Indicates if the band was opened directly.
Public Property DirectlyOpened As Boolean
public bool DirectlyOpened {get; set;}
Remarks
This method should not be used by application developers.
IRasterBand.HasColormap Method
Indicates if this band has a colormap.
Public Sub HasColormap ( _
ByRef b As Boolean _
)
public void HasColormap (
ref bool b
);
IRasterBand.HasStatistics Method
Indicates if this band has statistics.
Public Sub HasStatistics ( _
ByRef b As Boolean _
)
public void HasStatistics (
ref bool b
);
IRasterBand.HasTable Method
Indicates if this band has an attribute table.
Public Sub HasTable ( _
ByRef b As Boolean _
)
public void HasTable (
ref bool b
);
IRasterBand.Histogram Property
The histogram of this raster band.
Public ReadOnly Property Histogram As IRasterHistogram
public IRasterHistogram Histogram {get;}
IRasterBand.RasterDataset Property
The RasterDataset associated with this raster band.
Public ReadOnly Property RasterDataset As IRasterDataset
public IRasterDataset RasterDataset {get;}
IRasterBand.RepresentationType Property
The suggested representation type.
Public Property RepresentationType As rstRepresentationType
public rstRepresentationType RepresentationType {get; set;}
IRasterBand.Statistics Property
The statistics of this raster band.
Public ReadOnly Property Statistics As IRasterStatistics
public IRasterStatistics Statistics {get;}
Classes that implement IRasterBand
Classes | Description |
---|---|
RasterBand | A representation of a single band of a raster dataset on disk. |
Remarks
IRasterBand interface provides access to statistics, histogram, raster attribute table, and colormap of the raster band.
The RasterDataset method returns a reference to the RasterDataset that contains this band.
The AttributeTable method returns a table if the raster band contains, or calculates a virtual table if the number of unique values of the raster band is less than 2048. The raster table can not be modified using ITable interface.
The ComputeStatsAndHist method calculates statistics and a histogram for the band.
The HasStatistics, HasHistogram, and HasColormap methods set the output parameter to True if the band contains a histogram, colormap, or statistics and False if the band does not.