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


IRasterEdit Interface (ArcObjects .NET 10.4 SDK)
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.

Description

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

When editing raster in Enterprise geodatabase or File geodatabase, the NoData is mask based, not pixel value based, if you want to edit NoData pixels (either set a value pixel to a NoData pixel or a NoData pixel to be a value pixel), IPixelBlock3.NoDataMask should be used to flag the NoData pixels.

Members

Description
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

Raster Class | PixelBlock Class

.NET Related Topics

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