ArcObjects Library Reference (DataSourcesRaster)  

IRasterEdit Interface

Provides access to members that control pixel block level editing operations.

Product Availability

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


IRasterEdit allows you to modify the pixel values in a Raster. Refresh after you call Write to flush the changes.

Another way to modify pixel values is to use IRawPixels.


Method CanEdit Checks if this Raster can be edited.
Method Erase Erases a PixelBlock starting at a given Top-Left corner.
Method Refresh Refreshes the associated RasterDataset.
Method Write Writes a PixelBlock starting at a given Top-Left corner.

CoClasses that implement IRasterEdit

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

See Also

PixelBlock Class

.NET Related Topics

DataSourcesRaster | How to access pixel data using a raster cursor | How to create a raster dataset