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


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

IRaster2 Interface

Provides access to members that control a raster.

Product Availability

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

Members

Name 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.

Classes that implement IRaster2

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.