Skip to main content
Table of Contents

TTMSFNCGraphicsContextWin.SetFont Method

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

API unit family: TMSFNCGraphics.Win Declaring type: TTMSFNCGraphicsContextWin

Syntax

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

Parameters

Name Description
AFont The font descriptor to apply.