Click or drag to resize

DocumentViewer.Insert Method (Int32, String, Int32, String, String)

Inserts one or more images into the ThumbnailView from a file.

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,
	string fileName,
	int frameIndex,
	string caption,
	string toolTip
)

Parameters

index
Type: System.Int32
The index where the thumbnail should be inserted.
fileName
Type: System.String
The filename of the image.
frameIndex
Type: System.Int32
The frame index of the page to load or -1 to load all pages.
caption
Type: System.String
The caption for the thumbnail.
toolTip
Type: System.String
The tooltip for the thumbnail.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if the fileName argument is null (Nothing in VB).
FileNotFoundException Thrown if the file cannot be found.
Thrown if the index argument is out of range for this collection.
See Also