ArcObjects Library Reference (DataSourcesRaster)  

IRasterWorkspace Interface

Provides access to members that control a raster workspace. Note: the IRasterWorkspace interface has been superseded byIRasterWorkspace2. Please consider using the more recent version.

Product Availability

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

Members

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

CoClasses that implement IRasterWorkspace

CoClasses and 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 access raster from geodatabase, use IRasterWorkspaceEx interface.

 

.NET Snippets

Open Raster File As GeoDatset |

.NET Samples

Create a custom NoData pixel filter (Code Files: TestApp) | Create a custom raster function (Code Files: TestWatermarkFunction WatermarkFunction) | Create a Function Raster dataset (Code Files: CreateFunctionRasterDataset) | Create a Raster Function template (Code Files: CreateRasterFunctionTemplate) | Publish an image service and set configurations (Code Files: ISConfig) |

.NET Related Topics

Accessing ECWP service | Accessing raster workspaces | DataSourcesRaster | How to access a raster dataset | How to save a function raster dataset into a raster dataset | How to save raster data and set storage properties | Performing a spatial analysis operation using objects |