Click or drag to resize

BaseCommonDecoderRead Method (String, ProgressEventHandler)

Decode an image from file.

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.5.0.5.0.230 (.NET 4.6.2, x86)
Syntax
public virtual AtalaImage Read(
	string filePath,
	ProgressEventHandler progress
)

Parameters

filePath
Type: SystemString
Location of a file in a computer's file system structure.
progress
Type: Atalasoft.ImagingProgressEventHandler
The progress delegate. Can be set to null (Nothing in Visual Basic).

Return Value

Type: AtalaImage
An AtalaImage containing the decoded image.
Exceptions
ExceptionCondition
ArgumentException

filePath is null or empty.

CommonDecoderException

file decoding error.

See Also