Click or drag to resize

ThumbnailCollectionAdd Method (RandomAccessImageSource, ThumbnailCaptionRequestEventHandler)

Adds images from a RandomAccessImageSource 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 void Add(
	RandomAccessImageSource source,
	ThumbnailCaptionRequestEventHandler captionRequestHandler
)

Parameters

source
Type: Atalasoft.ImagingRandomAccessImageSource
The image source containing images to generate thumbnails for.
captionRequestHandler
Type: Atalasoft.Imaging.WinControlsThumbnailCaptionRequestEventHandler
A ThumbnailCaptionRequestEventHandler to call when a caption and/or tooltip is needed for a thumbnail.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if the source argument is null (Nothing in VB).
ArgumentException Thrown if the source does not know its total image count.
See Also