FMX.ImgList.TCustomImageList.ClearCache

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ClearCache(const Index: Integer = -1);

C++

void __fastcall ClearCache(const int Index = 0xffffffff);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.ImgList.pas
FMX.ImgList.hpp
FMX.ImgList TCustomImageList

Description

Removes the Index bitmap from the internal cache.

Index is the zero-based ordinal number of the image in the Destination collection.

If Index is -1 (the default), then all bitmaps are removed from the internal cache (the cache is cleared). Otherwise, only the bitmaps corresponding to the specified Index index (but with all sizes) are removed from the cache.

See Also