ArcGIS Enterprise SDK
IRasterDataset2.IsEmpty Property
ArcGIS Developer Help

IRasterDataset2.IsEmpty Property

Indicates whether the raster dataset is empty.

[Visual Basic .NET]
Public ReadOnly Property IsEmpty As Boolean
public bool IsEmpty {get;}


An empty raster means that properties of the Raster are not defined. The width, height, and the number of bands of the raster are all 0. It can not be used before populating pixels to it.

Co-create a Raster and IRasterDataset2::CreateRaster create an empty raster.


IRasterBandCollection::AppendBands or AppendBand allows you to populate this raster.


See Also

IRasterDataset2 Interface