Click or drag to resize

ThumbnailCollectionAdd Method (String, ThumbnailCaptionRequestEventHandler)

Adds all pages of an image from a file and gets the caption and tooltip from a ThumbnailCaptionRequestEventHandler.

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

Parameters

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

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

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