Creates a RasterDataset in the workspace given its name.
[Visual Basic .NET] Public Function CreateRasterDataset ( _ ByVal Name As String, _ ByVal Format As String, _ ByVal pOrigin As IPoint, _ ByVal nCols As Integer, _ ByVal nRows As Integer, _ ByVal dx As Double, _ ByVal dy As Double, _ ByVal nBands As Integer, _ ByVal PixelType As rstPixelType, _ ByVal SpatialReference As ISpatialReference, _ ByVal Permanent As Boolean, _ ByVal pStorageDef As IRasterStorageDef, _ ByVal ConfigKeyword As String _ ) As IRasterDataset
[C#] public IRasterDataset CreateRasterDataset ( string Name, string Format, IPoint pOrigin, int nCols, int nRows, double dx, double dy, int nBands, rstPixelType PixelType, ISpatialReference SpatialReference, bool Permanent, IRasterStorageDef pStorageDef, string ConfigKeyword );
[C++]
HRESULT CreateRasterDataset(
BSTR Name,
BSTR Format,
IPoint* pOrigin,
long nCols,
long nRows,
double dx,
double dy,
long nBands,
rstPixelType PixelType,
ISpatialReference* SpatialReference,
VARIANT_BOOL Permanent,
IRasterStorageDef* pStorageDef,
BSTR ConfigKeyword,
IRasterDataset** ppRasterDataset
);
[C++]Parameters
Name [in] Name is a parameter of type BSTR Format [in] Format is a parameter of type BSTR pOrigin [in]pOrigin is a parameter of type IPoint
nCols [in] nCols is a parameter of type long nRows [in] nRows is a parameter of type long dx [in] dx is a parameter of type double dy [in] dy is a parameter of type double nBands [in] nBands is a parameter of type long PixelType [in]PixelType is a parameter of type rstPixelType
SpatialReference [in]SpatialReference is a parameter of type ISpatialReference
Permanent [in] Permanent is a parameter of type VARIANT_BOOL pStorageDef [in]pStorageDef is a parameter of type IRasterStorageDef
ConfigKeyword [in] ConfigKeyword is a parameter of type BSTR ppRasterDataset [out, retval]ppRasterDataset is a parameter of type IRasterDataset
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.