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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Replace(
Thumbnail currentItem,
Thumbnail newItem,
bool disposeReplacedItem
)
Public Sub Replace (
currentItem As Thumbnail,
newItem As Thumbnail,
disposeReplacedItem As Boolean
)
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 Exception | Condition |
---|
ArgumentNullException | Thrown if the currentItem or newItem parameter is null. |
See Also