RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMetafile.SetSize Method

Specifies the size of the metafile.

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 metafile. 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!