ESRI.ArcGIS.ADF.IMS
Directory Property
See Also 
ESRI.ArcGIS.ADF.IMS.Data Namespace > ImageWorkspace Class : Directory Property




Gets or sets the directory.

Syntax

Visual Basic (Declaration) 
Public Property Directory As String
Visual Basic (Usage)Copy Code
Dim instance As ImageWorkspace
Dim value As String
 
instance.Directory = value
 
value = instance.Directory
C# 
public string Directory {get; set;}

Example

For an example of using ImageWorkspace to create a new, dynamic layer in the map, see ImageLayer(string, ImageDataset) .

Remarks

The Directory reference varies depending on how rasters are accessed.

Raster Access MethodDirectory value
Specify individual raster (files) by name.Directory is the directory location of the raster.
Use all rasters in a directory. Rasters in the same directory automatically tile if they use the same coordinate projection and are drawn when they are within the extent requested.Directory is the directory location of the group of rasters.
Use an ArcView GIS image catalog.Directory is the location of the catalog file, not the rasters.
Add a GRID.A GRID has two directories: one for the GRID data and one for the INFO files. Both these directories should be grouped together under a parent directory. Directory points to the parent directory above the INFO and GRID directories. A *.clr file can be included to color the GRID. This file should have the same name as the GRID and be included in the parent directory above the INFO and GRID directories.
Use an image in ArcSDE. Use SdeWorkspace instead.

See Also

© 2010 All Rights Reserved.