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: (.NET 4.5.2, x86)
public virtual void Replace(
	AtalaImage image


Type: Atalasoft.ImagingAtalaImage

The new image.

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