VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / AcquiredImageCollection Class / Add Method / Add(Stream) Method
Stream with image data.




In This Topic
    Add(Stream) Method
    In This Topic
    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