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

Public Overloads Sub Add( _
ByVal stream
A stream that contains image file.
As System.IO.Stream _
)

Parameters

stream
A stream that contains 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