Vcl.Imaging.GIFImg.TGIFList.Exchange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Exchange(Index1, Index2: Integer);

C++

void __fastcall Exchange(int Index1, int Index2);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Imaging.GIFImg.pas
Vcl.Imaging.GIFImg.hpp
Vcl.Imaging.GIFImg TGIFList

Description

Exchanges two GIF items in the Items list.

Call Exchange to swap the two GIF items at the indexes specified through the Index1 and Index2 indexes, respectively, in the Items list.

Index1 and Index2 are zero-based indexes in the Items list.

If either one of the given indexes are out of bounds, a list index error is raised.

See Also