Click or drag to resize

ThumbnailImageViewerSynchronizerOpen Method (String, Int32, String, String)

Opens an image from a file.

Namespace:  Atalasoft.Imaging.WinControls
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void Open(
	string fileName,
	int frameIndex,
	string caption,
	string toolTip
)

Parameters

fileName
Type: SystemString
The full path and filename of the image to add.
frameIndex
Type: SystemInt32
The frame index of the image or -1 to load all frames from a multipage image.
caption
Type: SystemString
The thumbnail caption.
toolTip
Type: SystemString
The thumbnail tooltip.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if the fileName is null (Nothing in VB) or an empty string.
FileNotFoundException Thrown if the file cannot be found.
ArgumentOutOfRangeException Thrown if the frame index is invalid for this file.
See Also