Vcl.Graphics.TMetafile.SetSize

From RAD Studio API Documentation
Jump to: navigation, search

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

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.