VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging Namespace / ImageCollection Class / Insert Methods / Insert(Int32,String,Boolean) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    Insert(Int32,String,Boolean) Method (ImageCollection)
    In This Topic
    Inserts an element(s) into the ImageCollection at the specified index.
    Syntax
    'Declaration
    
    Public Overloads Sub Insert( _
    ByVal index
    The zero-based index at which the new elements should be inserted.
    As System.Int32, _
    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 Insert(
    System.Int32 index,
    System.String filename,
    bool readonlyMode
    )
    public: void Insert(
    System.Int32 index,
    System.String filename,
    bool readonlyMode
    )
    public:
    void Insert(
    System.Int32 index,
    System.String filename,
    bool readonlyMode
    )

    Parameters

    index
    The zero-based index at which the new elements should be inserted.
    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 index is less than zero.
    Thrown if filename is null.
    Remarks

    One VintasoftImage object will be added to this collection if image is not a multipage image.
    Multiple VintasoftImage objects will be added to this collection if image is a multipage GIF/JBIG2/PDF/TIFF/DOCX/XLSX/DOC/XLS image.

    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