Click or drag to resize

ThumbnailImageViewerSynchronizer.Open 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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void Open(
	string fileName,
	int frameIndex,
	string caption,
	string toolTip
)

Parameters

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.
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