Vcl.Graphics.TBitmap.SetSize
Delphi
procedure SetSize(AWidth, AHeight: Integer); override;
C++
virtual void __fastcall SetSize(int AWidth, int AHeight);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TBitmap |
Description
Specifies the size of the bitmap.
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.