VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain Namespace / AcquiredImageCollection Class / Swap Method
Zero based index of the first image in this collection.
Zero based index of the second image in this collection.




In This Topic
    Swap Method (AcquiredImageCollection)
    In This Topic
    Swaps two images in the collection.
    Syntax
    'Declaration
     
    Public Sub Swap( _
       ByVal firstIndex As Integer, _
       ByVal secondIndex As Integer _
    ) 
    'Usage
     
    Dim instance As AcquiredImageCollection
    Dim firstIndex As Integer
    Dim secondIndex As Integer
     
    instance.Swap(firstIndex, secondIndex)
    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: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also