This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRasterDataset2 Interface > IRasterDataset2.CreateRaster Method (ArcObjects .NET 10.4 SDK) |
Creates an empty raster.
[Visual Basic .NET] Public Function CreateRaster ( _ ) As IRaster
[C#] public IRaster CreateRaster ( );
[C++]
HRESULT CreateRaster(
IRaster** Raster
);
[C++]
Parameters Raster [out, retval]
Raster is a parameter of type IRaster
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.