VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging Namespace / ImageCollection Class / Add Methods / Add(Stream) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    Add(Stream) Method (ImageCollection)
    In This Topic
    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 _
    )
    public: void Add(
    System.IO.Stream* 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: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also