VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging Namespace / ImageCollection Class / Add Methods / Add(String,Boolean) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    Add(String,Boolean) Method (ImageCollection)
    In This Topic
    Adds element(s) to the end of the ImageCollection.
    Syntax
    'Declaration
    
    Public Overloads Sub Add( _
    ByVal filename
    A string that contains the name of the file from which to load VintasoftImage objects.
    As System.String, _
    ByVal readonlyMode
    A value indicating whether the file should be opened in readonly mode.
    As Boolean _
    )
    public void Add(
    System.String filename,
    bool readonlyMode
    )
    public: void Add(
    System.String filename,
    bool readonlyMode
    )
    public:
    void Add(
    System.String filename,
    bool readonlyMode
    )

    Parameters

    filename
    A string that contains the name of the file from which to load VintasoftImage objects.
    readonlyMode
    A value indicating whether the file should be opened in readonly mode.
    Exceptions
    ExceptionDescription
    Thrown if filename is null.
    Thrown if image is not loaded.
    Remarks

    One VintasoftImage object will be added to this collection if image file contains only one image.
    Multiple VintasoftImage objects will be added to this collection if file is 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