VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / AcquiredImageCollection Class / Swap(Int32,Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Swap(Int32,Int32) Method (AcquiredImageCollection)
    In This Topic
    Swaps two images in the collection.
    Syntax
    'Declaration
    
    Public Sub Swap( _
    ByVal firstIndex
    Zero based index of the first image in this collection.
    As Integer, _
    ByVal secondIndex
    Zero based index of the second image in this collection.
    As Integer _
    )
    public void Swap(
    int firstIndex,
    int secondIndex
    )
    public: void Swap(
    int firstIndex,
    int secondIndex
    )
    public:
    void Swap(
    int firstIndex,
    int secondIndex
    )

    Parameters

    firstIndex
    Zero based index of the first image in this collection.
    secondIndex
    Zero based index of the second image in this collection.
    Exceptions
    ExceptionDescription
    Thrown if firstIndex or secondIndex 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