Provides access to members that control pixel block level editing operations.
Description
IRasterEdit allows you to modify the pixel values in a Raster usingPixelBlocks. 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
Name | Description | |
---|---|---|
CanEdit | Checks if this Raster can be edited. | |
Erase | Erases a PixelBlock starting at a given Top-Left corner. | |
Refresh | Refreshes the associated RasterDataset. | |
Write | Writes a PixelBlock starting at a given Top-Left corner. |
IRasterEdit.CanEdit Method
Checks if this Raster can be edited.
Public Function CanEdit ( _
) As Boolean
public bool CanEdit (
);
IRasterEdit.Erase Method
Erases a PixelBlock starting at a given Top-Left corner.
Public Sub Erase ( _
ByVal pTlc As IPnt, _
ByVal pPixelBlock As IPixelBlock _
)
public void Erase (
IPnt pTlc,
IPixelBlock pPixelBlock
);
IRasterEdit.Refresh Method
Refreshes the associated RasterDataset.
Public Sub Refresh ( _
)
public void Refresh (
);
IRasterEdit.Write Method
Writes a PixelBlock starting at a given Top-Left corner.
Public Sub Write ( _
ByVal pTlc As IPnt, _
ByVal pPixelBlock As IPixelBlock _
)
public void Write (
IPnt pTlc,
IPixelBlock pPixelBlock
);
Classes that implement IRasterEdit
Classes | Description |
---|---|
Raster | An in-memory representation of a dynamic raster that can perform resampling and reprojection. |