Click or drag to resize

AtalaImageViewerOpen Method (String, Int32, ProgressEventHandler)

Opens an image from a filename.

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

Parameters

fileName
Type: SystemString
The filename of the image to open.
frameIndex
Type: SystemInt32
The frame index to open. This value must be zero or greater.
progress
Type: Atalasoft.ImagingProgressEventHandler
A ProgressEventHandler used to raise progress during the decoding process. This can be null (Nothing in VB).
Exceptions
ExceptionCondition
Thrown if the fileName argument is null (Nothing in VB).
Thrown if the fileName cannot be found.
Thrown if the frameIndex argument is invalid.
See Also