ThumbnailCollectionInsert Method (Int32, String, Int32, String, String) |
Inserts a
Thumbnail into the collection by specifying the insert index, filename, frame
index, caption and tooltip.
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,
int frameIndex,
string caption,
string toolTip
)
Public Function Insert (
index As Integer,
fileName As String,
frameIndex As Integer,
caption As String,
toolTip As String
) As Thumbnail
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. - 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:
ThumbnailExceptions Exception | Condition |
---|
| Thrown if the index parameter is invalid for this collection. |
See Also