This document is archived and information here might be outdated.  Recommended version.


IRasterWorkspace Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterWorkspace Interface
ArcGIS Developer Help

IRasterWorkspace Interface

Provides access to members that control a raster workspace.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Method CanCopy Indicates if this dataset can be copied.
Method Copy Copies this workspace to a new workspace with the specified name.
Method CreateRasterBand Creates a RasterBand in the workspace given its name.
Method CreateRasterDataset Creates a RasterDataset in the workspace given its name.
Method IsWorkspace Indicates if the file path specified is a raster workspace.
Method OpenRasterBand Opens a RasterBand in the workspace given its name.
Method OpenRasterDataset Opens a RasterDataset in the workspace given its name.

Classes that implement IRasterWorkspace

Classes Description
RasterWorkspace The raster workspace object.

Remarks

IRasterWorspace is used to access a raster stored in a file system in any supported raster format. RasterWorkspaceFactory must be used to create a raster workspace.

To create a raster dataset in a file format, use IRasterWorkspace2 interface in the Geodatabase library

To access raster from geodatabase, use IRasterWorkspaceEx interface.

 

.NET Samples

Create a Function Raster dataset Create a Math Function Raster dataset Create a Mosaic dataset Create a Raster Function template Create a custom NoData pixel filter Create a custom raster function Create a custom raster function Create a custom raster type from the ground up for DMCII data Create a custom raster type from the ground up for DMCII data Publish an image service and set configurations Create an NDVI custom raster function Create an NDVI custom raster function