Click or drag to resize

DocumentViewerOpen Method (RandomAccessImageSource)

Adds images from a RandomAccessImageSource into the viewer.

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(
	RandomAccessImageSource imageSource
)

Parameters

imageSource
Type: Atalasoft.ImagingRandomAccessImageSource
The image source to load images from.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if the imageSource argument is null (Nothing in VB).
ArgumentException Thrown if the image source does not know its total image count.
Examples
this._viewer.Open(new FileSystemImageSource(new string[] { @"C:\images\multipage.tif" }, true));
Examples
this._viewer.Open(new FileSystemImageSource(new string[] { @"C:\images\multipage.tif" }, true));
See Also