Click or drag to resize

ThumbnailImageViewerSynchronizerInsert Method (Int32, AtalaImage, String, String)

Inserts an image into the collection.

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 Thumbnail Insert(
	int index,
	AtalaImage image,
	string caption,
	string toolTip
)

Parameters

index
Type: SystemInt32
The index where the thumbnail should be inserted or -1 to add the thumbnail to the end of the collection.
image
Type: Atalasoft.ImagingAtalaImage
The image to insert.
caption
Type: SystemString
The thumbnail caption.
toolTip
Type: SystemString
The thumbnail tooltip.

Return Value

Type: Thumbnail
Exceptions
ExceptionCondition
ArgumentNullException Thrown if the image is null (Nothing in VB).
ArgumentOutOfRangeException Thrown if the index is out of range for this collection.
See Also