IRasterDataset Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRasterDataset Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRasterDataset Interface

Provides access to members that control a raster dataset. Note: the IRasterDataset interface has been superseded byIRasterDataset3. Please consider using the more recent version.

Product Availability

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

Members

Name Description
Method BasicOpenFromFile Opens the dataset from file.
Method CanCopy Returns true if this dataset can be copied.
Read-only property CompleteName The full path of the RasterDataset.
Read-only property CompressionType The compression technique applied to this RasterDataset.
Method Copy Copies this dataset to a new dataset with the specified name.
Method CreateDefaultRaster Creates a raster object with the default properties for this dataset.
Read-only property Format The format of this RasterRataset.
Method OpenFromFile Attaches dataset to a particular file.
Method PrecalculateStats Calculates statistics and histograms for specified bands.
Read-only property SensorType The sensor type used for this RasterDataset.

CoClasses that implement IRasterDataset

CoClasses and Classes Description
FunctionRasterDataset (esriDataSourcesRaster) A class for a function raster dataset.
RasterBand (esriDataSourcesRaster) A representation of a single band of a raster dataset on disk.
RasterDataset (esriDataSourcesRaster) A representation of a raster dataset on disk.

Remarks

The IRasterDataset interface provides basic access to the properties of a raster dataset such as format, compression type etc. It also allows to create a Raster object of the raster dataset.

See Also

IRasterPyramid Interface | IRasterPyramid3 Interface | IWorldFileExport Interface | IRasterBandCollection Interface

.NET Snippets

Create DistanceOp EucDistanceFull Direction Raster | Create LogicalOp Combinatorial XOR Raster | Create TrigOp ATan2 Raster | Create BitwiseOp OR Raster | Create TrigOp ACos Raster | Create DistanceOp EucDistanceFull Distance Raster | Create LogicalOp Combinatorial OR Raster | Create TrigOp Sin Raster | Create GeneralizeOp Aggregate Raster | Create DistanceOp CostDistanceFull Backlink Raster | Create MathOp ABS Raster | Create LogicalOp Boolean XOR Raster | Create ExtractOp Circle Raster | Create DistanceOp EucDirection Raster | Create TrigOp CosH Raster | Add GeoDataset Raster To Map | Create HydrologyOp Basin Raster | Open Raster File As GeoDatset | Create MathOp Square Root Raster | Create DistanceOp Cost Back Link Raster | Create GeneralizeOp Boundary Clean Raster | Create MathOp Round Down Raster | Create MathOp Round Up Raster | Create BitwiseOp Left Shift Raster | Create NeighborhoodOp Block Statistics Raster | Create TrigOp TanH Raster | Create TrigOp ATanH Raster | Create TrigOp ACosH Raster | Create ConditionalOp Con Raster | Create DistanceOp EucAllocation Raster | Create BitwiseOp AND Raster | Create DistanceOp Corridor Raster | Create DistanceOp EucDistanceFull Allocation Raster | Create LogicalOp Combinatorial AND Raster | Create MathOp Square Raster | Create DistanceOp Cost Path Raster | Create LogicalOp Boolean AND Raster | Create LocalOp Combine Raster | Create TrigOp Tan Raster | Create BitwiseOp Right Shift Raster | Create TrigOp Cos Raster | Create TrigOp ASin Raster | Create LogicalOp Boolean NOT Raster | Create ExtractionOp Attribute Raster | Create DistanceOp CostDistanceFull Least Accumulative Cost Raster | Create LogicalOp Boolean OR Raster | Create DistanceOp Cost Allocation Raster | Create TrigOp ASinH Raster | Create MathOp Times Raster | Create TrigOp ATan Raster | Create DistanceOp CostDistanceFull Cost Allocation Raster | Create DistanceOp Cost Distance Raster | Create BitwiseOp NOT Raster | Create TrigOp SinH Raster | Create Grid From Feature Class

.NET Samples

Create a Raster Function template (Code Files: CreateRasterFunctionTemplate) | Create a custom raster type (Code Files: ThumbnailBuilder) | Create a custom default raster catalog renderer (Code Files: CustomRasterCatalogRenderer_VBNET) | Create a custom raster type from the ground up for DMCII data (Code Files: DMCIIRasterType TestDMCIIRasterType) | Publish an image service and set configurations (Code Files: ISConfig) | Create a Math Function Raster dataset (Code Files: CreateMathFunctionRasterDataset) | Create a Mosaic dataset (Code Files: CreateMosaicDataset) | Create a custom default raster renderer (Code Files: RasterRendererMaker_1bit_TIFF_VBNET) | Create an NDVI custom raster function (Code Files: NDVICustomFunction NDVICustomFunctionUIForm TestNDVICustomFunction) | Create a Function Raster dataset (Code Files: CreateFunctionRasterDataset) | Create a custom raster function (Code Files: TestWatermarkFunction WatermarkFunction WatermarkFunctionUIForm)

.NET Related Topics

Accessing a raster dataset in a raster catalog | Accessing ECWP service | Accessing HDF and NITF subdatasets | Converting data using GeoAnalyst objects | Data processing in spatial analysis operations | DataSourcesRaster | Deferred evaluation | Executing a map algebra expression | Geodatabase | Handling multiband output | How to access a raster catalog | How to access a raster dataset | How to access JPEG EXIF tags | How to access OGC WCS coverage | How to access pixel data using the RawBlocks object | How to add or remove a color map from a raster dataset | How to build a raster attribute table | How to convert a raster dataset to a JPEG2000 raster dataset | How to create a raster classify renderer | How to create a raster dataset | How to erase a portion of a geodatabase raster dataset | How to load a raster dataset to the raster field in a feature class | How to orthorectify an image | How to persist a geodata transformation on a raster dataset | How to save a function raster dataset into a raster dataset | How to save and load color maps | How to save raster data and set storage properties | How to split a raster dataset into multiple tiles | Performing a spatial analysis operation using objects | Working with helper objects