VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / AcquiredImageCollection Class / Add Methods / Add(String) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
Add(String) Method (AcquiredImageCollection)
In This Topic
Adds images from specified file to this collection.
Syntax
'Declaration

Public Overloads Sub Add( _
ByVal filename
A name of image file.
As String _
)
public void Add(
string filename
)

Parameters

filename
A name of image file.
Exceptions
ExceptionDescription
Thrown if filename is null.
Thrown if image has unsupported format.
Remarks

This method allows to load only image formats supported by .NET Framework: BMP, GIF, multipage GIF, JPEG, PNG, TIFF, multipage TIFF.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also