RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBitmap.SetSize Method

Specifies the size of the bitmap.

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 bitmap. This results in better performance than setting the height and width separately. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!