Provides access to members that provide undo support.
| Description | ||
|---|---|---|
![]() |
Commit | Sends all pending changes to persistent storage. |
![]() |
End | Commits changes and stops double buffering. |
![]() |
Start | Starts double buffering edits for undo support. |
![]() |
Undo | Reverses last N changes. |
![]() |
UndoLevels | Maximum number of reversible operations. |
| CoClasses and Classes | Description |
|---|---|
| RasterBand | A representation of a single band of a raster dataset on disk. |
This interface allows you to setup and maintain a transaction stack that can revert from changes that have been made in memory before persisting these changes to disk. In this mechanism, a transaction is defined as either a write called on the dataset outside a double-buffered transaction or a set of writes contained within a single Start/End transaction block. The Start and End methods allow you to perform multiple writes that are managed by the undo stack as a single transaction.
To enable the transactioning mechanism, a band cache must first be created. To create the cache, call the AcquireCache method on the IRawPixels interface. After you are done editing, free the cache using the ReturnCache method.