API:Vcl.Graphics.TMetafile.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 | TMetafile |
Description
Specifies the size of the graphic.
Vcl.Graphics.TMetafile.SetSize inherits from Vcl.Graphics.TGraphic.SetSize. All content below this line refers to Vcl.Graphics.TGraphic.SetSize.
Specifies the size of the graphic.
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.