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


IRaster2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRaster2 Interface

Provides access to members that control a raster.

Product Availability

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

Members

Description
Read/write property AttributeTable The raster value attribute table.
Read/write property Colormap The colormap.
Method CreateCursorEx Creates a cursor with a given pixel block size or native block size.
Read/write property GeodataXform The geodata transform.
Read/write property GeoTransformations The set of geographic transformations to be applied.
Method GetPixelValue Gets the pixel value for a given band at a given column and row.
Method MapToPixel Converts a location (x, y) in map space into pixel space.
Method PixelToMap Converts a location (column, row) in pixel space into map space.
Read-only property RasterDataset The parent raster dataset.
Read-only property RasterXformer The raster transformer.
Method ToMapX Maps a pixel column to the x coordinate in map space.
Method ToMapY Maps a pixel row to the y coordinate in map space.
Method ToPixelColumn Maps a x coordinate in map space to the pixel column.
Method ToPixelRow Maps a y coordinate in map space to the pixel row.

CoClasses that implement IRaster2

CoClasses and Classes Description
Raster An in-memory representation of a dynamic raster that can perform resampling and reprojection.

Remarks

IRaster2 interface, new at ArcGIS 9.2,  provides many functions working with a Raster object.

 

.NET Related Topics

DataSourcesRaster | How to access OGC WCS coverage | How to access pixel data using a raster cursor | How to create a raster unique value renderer | How to identify pixel values using a raster object | How to orthorectify an image | How to perform a geodata transformation on a raster | How to project a raster with a datum transformation