Click or drag to resize

ImageCollection.Replace Method

Replaces the Current image in the collection with a new image.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax
public virtual void Replace(
	AtalaImage image
)

Parameters

image
Type: Atalasoft.Imaging.AtalaImage

The new image.

Remarks
The image that is being removed, will not be automatically disposed by the Workspace. To immediately free memory, the image that's being removed must be disposed. See the Workspace.Image property in the Workspace class to replace an image, and add it to the UndoCollection, and dispose of it automatically.
See Also