RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGraphic.SetSize Method

Specifies the size of the graphic.

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

Use the SetSize method to set both the height and width of the graphic. 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!