Click or drag to resize

DocumentViewer.Open Method (String)

Opens an image from a filename. If the file is a multipage document, all pages are added to the control.

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
)

Parameters

fileName
Type: System.String
The filename of the image.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if the filename argument is null (Nothing in VB) or an empty string.
FileNotFoundException Thrown if the filename cannot be found.
See Also