Click or drag to resize

ThumbnailCollectionAdd Method (Stream, Int32, String, String)

Adds an image from a stream.

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(
	Stream stream,
	int frameIndex,
	string caption,
	string toolTip
)

Parameters

stream
Type: System.IOStream
The stream containing the image.
frameIndex
Type: SystemInt32
The frame index of the image.
caption
Type: SystemString
The caption for the thumbnail.
toolTip
Type: SystemString
The tooltip used for the thumbnail.

Return Value

Type: Thumbnail

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

Exceptions
ExceptionCondition
ArgumentNullException Thrown if the stream is null (Nothing in VB).
IOException Thrown if the stream is not seekable or does not have read access.
ArgumentOutOfRangeException Thrown if the index is out of range for this collection.
See Also