Click or drag to resize

ThumbnailImageViewerSynchronizerInsert Method (Int32, String, Int32, String, String)

Inserts or add a thumbnail.

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 Thumbnail Insert(
	int index,
	string fileName,
	int frameIndex,
	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.
fileName
Type: SystemString
The full path and filename of the image to add.
frameIndex
Type: SystemInt32
The frame index of the image or -1 to load all frames from a multipage image.
caption
Type: SystemString
The thumbnail caption.
toolTip
Type: SystemString
The thumbnail tooltip.

Return Value

Type: Thumbnail

[Missing <returns> documentation for "M:Atalasoft.Imaging.WinControls.ThumbnailImageViewerSynchronizer.Insert(System.Int32,System.String,System.Int32,System.String,System.String)"]

Exceptions
ExceptionCondition
ArgumentNullException Thrown if the filename is null (Nothing in VB).
FileNotFoundException Thrown if the filename cannot be found.
See Also