Vcl.Graphics.TGraphic.SetSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetSize(AWidth, AHeight: Integer); virtual;

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 TGraphic

Description

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.