Skip to main content
Table of Contents

TTMSFNCGraphicsContextGeneral.SetFont Method

Applies all properties of the given font object to the canvas text settings.

API unit family: TMSFNCGraphics.General Declaring type: TTMSFNCGraphicsContextGeneral

Syntax

FMX.TMSFNCGraphics.General.hppPascalC++
procedure SetFont(AFont: TTMSFNCGraphicsFont); override;
virtual void __fastcall SetFont(TTMSFNCGraphicsFont* AFont);

Parameters

Name Description
AFont The font descriptor to apply.