RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomImageList.CreateSize Constructor

Creates an empty image list of a specified size.

Pascal
constructor CreateSize(AWidth: Integer; AHeight: Integer);
C++
__fastcall TCustomImageList(int AWidth, int AHeight);

Use CreateSize to create an image list object at runtime with an image size other than the default of 16 x 16 pixels. The initial size of the image list is determined by the AHeight and AWidth parameters. The height and width can be altered after the image list has been created using the Width and Height properties. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!