Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomImageList.Resize(TSize) Method

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

#Declaration

Delphi
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