VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging Namespace / ImageCollection Class / Add Methods / Add(Stream) Method
Syntax Exceptions Remarks Requirements SeeAlso
    Add(Stream) Method (ImageCollection)
    Adds element(s) to the end of the ImageCollection.
    Syntax
    'Declaration
    
    Public Overloads Sub Add( _
    ByVal stream
    A stream that contains the image file.
    As System.IO.Stream _
    )
     

    Parameters

    stream
    A stream that contains the image file.
    Exceptions
    ExceptionDescription
    Thrown if stream is null or stream length is 0.
    Thrown if image is not loaded.
    Remarks

    One VintasoftImage object will be added to this collection if stream contains only one image.
    Multiple VintasoftImage objects will be added to this collection if stream contains a multipage GIF/JBIG2/PDF/TIFF/DOCX/XLSX file.

    Requirements

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

    See Also