Click or drag to resize

ImageCollectionReplace Method

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

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

Parameters

image
Type: Atalasoft.ImagingAtalaImage

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