Click or drag to resize

ThumbnailCollectionReplace Method (Thumbnail, Thumbnail, Boolean)

Replaces a Thumbnail in the collection with another.

Namespace:  Atalasoft.Imaging.WinControls
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void Replace(
	Thumbnail currentItem,
	Thumbnail newItem,
	bool disposeReplacedItem
)

Parameters

currentItem
Type: Atalasoft.Imaging.WinControlsThumbnail
The thumbnail to replace.
newItem
Type: Atalasoft.Imaging.WinControlsThumbnail
The thumbnail that will take the place of the current one.
disposeReplacedItem
Type: SystemBoolean
Indicates whether the previous thumbnail will be disposed.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if the currentItem or newItem parameter is null.
See Also