VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Tiff Namespace / TiffPageCollection Class / Swap(Int32,Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Swap(Int32,Int32) Method (TiffPageCollection)
    In This Topic
    Swaps two pages in the collection.
    Syntax
    'Declaration
    
    Public Sub Swap( _
    ByVal firstPageIndex
    Zero-based index of the first page.
    As System.Int32, _
    ByVal secondPageIndex
    Zero-based index of the second page.
    As System.Int32 _
    )
    public void Swap(
    System.Int32 firstPageIndex,
    System.Int32 secondPageIndex
    )
    public: void Swap(
    System.Int32 firstPageIndex,
    System.Int32 secondPageIndex
    )
    public:
    void Swap(
    System.Int32 firstPageIndex,
    System.Int32 secondPageIndex
    )

    Parameters

    firstPageIndex
    Zero-based index of the first page.
    secondPageIndex
    Zero-based index of the second page.
    Exceptions
    ExceptionDescription
    Thrown if firstPageIndex or secondPageIndex are out of range.
    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