Skip to main content

TcxCustomImageList.SetSize(TSize) Method

Sets a new size of the stored images, in pixels.

Declaration

procedure SetSize(const ASize: TSize); overload;

Parameters

Name Type Description
ASize TSize

A new size of stored images, in pixels.

Remarks

This procedure allows you to pass both image dimensions (Width and Height) as a single parameter (ASize).

Note

The image list is cleared if a SetSize procedure call changes the stored image dimensions. To keep store images and change their size, call a Resize procedure.

See Also