com.esri.arcgis.datasourcesraster
Interface IRasterEdit

All Superinterfaces:
Serializable
All Known Implementing Classes:
Raster

public interface IRasterEdit
extends Serializable

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

Description

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
PixelBlock

Method Summary
 boolean canEdit()
          Checks if this Raster can be edited.
 void erase(IPnt pTlc, IPixelBlock pPixelBlock)
          Erases a PixelBlock starting at a given Top-Left corner.
 void refresh()
          Refreshes the associated RasterDataset.
 void write(IPnt pTlc, IPixelBlock pPixelBlock)
          Writes a PixelBlock starting at a given Top-Left corner.
 

Method Detail

canEdit

boolean canEdit()
                throws IOException,
                       AutomationException
Checks if this Raster can be edited.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The canEdit
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

write

void write(IPnt pTlc,
           IPixelBlock pPixelBlock)
           throws IOException,
                  AutomationException
Writes a PixelBlock starting at a given Top-Left corner.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pTlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
pPixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

erase

void erase(IPnt pTlc,
           IPixelBlock pPixelBlock)
           throws IOException,
                  AutomationException
Erases a PixelBlock starting at a given Top-Left corner.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pTlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
pPixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

void refresh()
             throws IOException,
                    AutomationException
Refreshes the associated RasterDataset.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.