The first item index. Between 0 and ItemCount - 1.
The second item index. Between 0 and ItemCount - 1.
True to also swap item text, else False (default).





In This Topic
GdPicture14 Namespace / ThumbnailEx Class / SwapItemsBitmap Method / SwapItemsBitmap(Int32,Int32,Boolean) Method

SwapItemsBitmap(Int32,Int32,Boolean) Method

In This Topic
Swap 2 items bitmap in the thumbnail list.
Syntax
'Declaration

 

Public Overloads Sub SwapItemsBitmap( _

   ByVal Item1Idx As Integer, _

   ByVal Item2Idx As Integer, _

   ByVal SwapText As Boolean _

) 
public void SwapItemsBitmap( 

   int Item1Idx,

   int Item2Idx,

   bool SwapText

)
public procedure SwapItemsBitmap( 

    Item1Idx: Integer;

    Item2Idx: Integer;

    SwapText: Boolean

); 
public function SwapItemsBitmap( 

   Item1Idx : int,

   Item2Idx : int,

   SwapText : boolean

);
public: void SwapItemsBitmap( 

   int Item1Idx,

   int Item2Idx,

   bool SwapText

) 
public:

void SwapItemsBitmap( 

   int Item1Idx,

   int Item2Idx,

   bool SwapText

) 

Parameters

Item1Idx
The first item index. Between 0 and ItemCount - 1.
Item2Idx
The second item index. Between 0 and ItemCount - 1.
SwapText
True to also swap item text, else False (default).
See Also