Skip to main content
Table of Contents

TTMSFNCGraphicsContextGeneral.SetSize Method

Updates the logical size of the drawing surface.

API unit family: TMSFNCGraphics.General Declaring type: TTMSFNCGraphicsContextGeneral

Syntax

FMX.TMSFNCGraphics.General.hppPascalC++
procedure SetSize(AWidth, AHeight: Single); override;
virtual void __fastcall SetSize(float AWidth, float AHeight);

Parameters

Name Description
AWidth New width in canvas units.
AHeight New height in canvas units.