ThumbnailImageViewerSynchronizer.Insert Method (Int32, String, Int32, String, String) |
Inserts or add a thumbnail.
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)
Syntaxpublic 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: System.Int32
The index where the thumbnail should be inserted or -1 to add the thumbnail to the end of the
collection. - fileName
- Type: System.String
The full path and filename of the image to add. - frameIndex
- Type: System.Int32
The frame index of the image or -1 to load all frames from a multipage image. - caption
- Type: System.String
The thumbnail caption. - toolTip
- Type: System.String
The thumbnail tooltip.
Return Value
Type:
Thumbnail
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown if the filename is null (Nothing in VB). |
FileNotFoundException | Thrown if the filename cannot be found. |
See Also