Skip to main content
Table of Contents

TTMSFNCGraphicsContext.SetSize Method

Resizes the backing surface of the context.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphicsContext

Syntax

FMX.TMSFNCGraphics.hppPascalC++
procedure SetSize(AWidth, AHeight: Single); virtual; abstract;
virtual void __fastcall SetSize(float AWidth, float AHeight) = 0;

Parameters

Name Description
AWidth New width in pixels.
AHeight New height in pixels.