DocumentViewer.Insert Method (Int32, String, ThumbnailCaptionRequestEventHandler) |
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 void Insert(
int index,
string fileName,
ThumbnailCaptionRequestEventHandler captionRequestHandler
)
Public Sub Insert (
index As Integer,
fileName As String,
captionRequestHandler As ThumbnailCaptionRequestEventHandler
)
Parameters
- index
- Type: System.Int32
The index where the thumbnail should be inserted. - fileName
- Type: System.String
The filename of the image. - captionRequestHandler
- Type: Atalasoft.Imaging.WinControls.ThumbnailCaptionRequestEventHandler
The ThumbnailCaptionRequestEventHandler called to get the
thumbnail caption and tooltip.
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown if the filename is null (Nothing in VB) or an empty string. |
ArgumentOutOfRangeException | Thrown if the index is out of range for this collection. |
See Also