Click or drag to resize

ThumbnailCollectionInsert Method (Int32, String, ThumbnailCaptionRequestEventHandler)

Inserts all pages from an image into the control.

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,
	string fileName,
	ThumbnailCaptionRequestEventHandler captionRequestHandler
)

Parameters

index
Type: SystemInt32
The index in the collection where the Thumbnail will be inserted.
fileName
Type: SystemString
The full path and filename of the image used to create the thumbnail.
captionRequestHandler
Type: Atalasoft.Imaging.WinControlsThumbnailCaptionRequestEventHandler
A ThumbnailCaptionRequestEventHandler to call when a caption and/or tooltip is needed for a thumbnail.

Return Value

Type: Thumbnail
Exceptions
ExceptionCondition
Thrown if the filename is null (Nothing in VB) or an empty string.
Thrown if the index is out of range for this collection.
See Also