VintaSoft Twain .NET SDK v10.2
Swap Method (AcquiredImageCollection)




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.
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

Reference

AcquiredImageCollection Class
AcquiredImageCollection Members