Parameters
- filename
- A name of image file.
Exception | Description |
---|---|
System.ArgumentNullException | Thrown if filename is null. |
TwainException | Thrown if image has unsupported format. |
This method allows to load only image formats supported by .NET Framework: BMP, GIF, multipage GIF, JPEG, PNG, TIFF, multipage TIFF.
Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5