DocumentViewerInsert Method (Int32, AtalaImage, String, String) |
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 void Insert(
int index,
AtalaImage image,
string caption,
string toolTip
)
Public Sub Insert (
index As Integer,
image As AtalaImage,
caption As String,
toolTip As String
)
Parameters
- index
- Type: SystemInt32
The index where the thumbnail should be inserted. - image
- Type: Atalasoft.ImagingAtalaImage
The AtalaImage to add. - caption
- Type: SystemString
The caption for the thumbnail. - toolTip
- Type: SystemString
The tooltip for the thumbnail.
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown if the image argument is null (Nothing in VB). |
ArgumentOutOfRangeException | Thrown if the index is out of range for this collection. |
Remarks The
AtalaImage can be disposed after this method call.
See Also