RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIcon.SetSize Method

Specifies the size of the icon.

Pascal
procedure SetSize(AWidth: Integer; AHeight: Integer); override;
C++
virtual __fastcall SetSize(int AWidth, int AHeight);

Use the SetSize method to set both the height and width of the icon. This results in better performance than setting the height and width separately. 

 

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