VintaSoft Twain .NET SDK v10.2
Add(Stream) Method




Vintasoft.Twain Namespace > AcquiredImageCollection Class > Add Method : Add(Stream) Method
Stream with image data.
Adds an image(s) to the internal images buffer.
Syntax
'Declaration
 
Public Overloads Sub Add( _
   ByVal stream As Stream _
) 
'Usage
 
Dim instance As AcquiredImageCollection
Dim stream As Stream
 
instance.Add(stream)
public void Add( 
   Stream stream
)
public: void Add( 
   Stream* stream
) 
public:
void Add( 
   Stream^ stream
) 

Parameters

stream
Stream with image data.
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: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

AcquiredImageCollection Class
AcquiredImageCollection Members
Overload List