ThumbnailCollectionInsert Method (Int32, Stream, Int32, String, String) |
Inserts a thumbnail into the collection from a stream.
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,
Stream stream,
int frameIndex,
string caption,
string toolTip
)
Public Function Insert (
index As Integer,
stream As Stream,
frameIndex As Integer,
caption As String,
toolTip As String
) As Thumbnail
Parameters
- index
- Type: SystemInt32
The index in the collection to insert the thumbnail. - stream
- Type: System.IOStream
A stream containing the image to generate the thumbnail from. - frameIndex
- Type: SystemInt32
The frame index of a multipage image to generate the thumbnail from. - caption
- Type: SystemString
The caption for the thumbnail. - toolTip
- Type: SystemString
The tooltip for the thumbnail.
Return Value
Type:
ThumbnailSee Also