This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IC > IConversionOp Interface > IConversionOp.ToRasterDataset Method (ArcObjects .NET 10.5 SDK) |
Convert to a RasterDataset.
[Visual Basic .NET] Public Function ToRasterDataset ( _ ByVal dataset As IGeoDataset, _ ByVal rasterFormat As String, _ ByVal pWorkspace As IWorkspace, _ ByVal name As String _ ) As IRasterDataset
[C#] public IRasterDataset ToRasterDataset ( IGeoDataset dataset, string rasterFormat, IWorkspace pWorkspace, string name );
[C++]
HRESULT ToRasterDataset(
IGeoDataset* dataset,
BSTR rasterFormat,
IWorkspace* pWorkspace,
BSTR name,
IRasterDataset** rasterDataset
);
[C++]
Parameters dataset [in]
dataset is a parameter of type IGeoDataset rasterFormat [in] rasterFormat is a parameter of type BSTR pWorkspace [in]
pWorkspace is a parameter of type IWorkspace name [in] name is a parameter of type BSTR rasterDataset [out, retval]
rasterDataset is a parameter of type IRasterDataset
dataset |
Input featureclass, featureclassdescriptor, featurelayer to be converted to raster |
rasterFormat |
ESRI GRID, ERDAS Imagine, Personal Geodatabase, TIFF, and File Geodatabase, raster are supported formats. The format strings for rasterformat parameter are case sensitive and are as follows,
|
pWorkspace |
an object specifying the directory or subdirectory to contain the output rasterdataset |
name |
The name of the output raster dataset |