Skip to main content

TcxCustomImageList.Resize(TSize) Method

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

Declaration

procedure Resize(const ASize: TSize);

Parameters

Name Type Description
ASize TSize

A new size of stored images, in pixels.

Remarks

A Resize procedure call expands the stored images up to the specified dimensions symmetrically with transparent pixels if the images are smaller than the list’s size. The procedure shrinks loaded images to the target size if they are too large.

Note

Stored raster images may look blurry after a Resize procedure call. The procedure always resizes SVG images to the target dimensions without quality loss.

See Also