Click or drag to resize

ThumbnailCollectionAdd Method (String, Int32, String)

Adds a Thumbnail to the collection by specifying the filename, frame index and caption.

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 Add(
	string fileName,
	int frameIndex,
	string caption
)

Parameters

fileName
Type: SystemString
The full path and filename of the image used to create the thumbnail.
frameIndex
Type: SystemInt32
The frame index of the image.
caption
Type: SystemString
The caption for the thumbnail.

Return Value

Type: Thumbnail

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

Exceptions
ExceptionCondition
ArgumentNullException Thrown if the filename is null (Nothing in VB) or an empty string.
FileNotFoundException Thrown if the file cannot be found.
ArgumentOutOfRangeException Thrown if the frame index is out of range for the image.
See Also