VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Tiff Namespace / TiffPageCollection Class / Insert Methods / Insert(Int32,TiffPage) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    Insert(Int32,TiffPage) Method (TiffPageCollection)
    In This Topic
    Inserts copy of specified page to the page collection at the specified index.
    Syntax
    'Declaration
    
    Public Overloads Overrides Sub Insert( _
    ByVal index
    The zero-based index at which page should be inserted.
    As System.Int32, _
    ByVal page
    Page to insert into the page collection.
    As TiffPage _
    )
    public override void Insert(
    System.Int32 index,
    TiffPage page
    )
    public: void Insert(
    System.Int32 index,
    TiffPage* page
    ); override
    public:
    void Insert(
    System.Int32 index,
    TiffPage^ page
    ); override

    Parameters

    index
    The zero-based index at which page should be inserted.
    page
    Page to insert into the page collection.
    Exceptions
    ExceptionDescription
    Thrown if page is null.
    Thrown if index is less than 0.
    Thrown if user canceled the encoding process.
    Remarks

    TIFF page from any TIFF file can be inserted to the collection.

    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