Skip to main content
Table of Contents

TTMSFNCCustomHint.Calculate Method

Calculates and returns the bounding rectangle required to display the given hint text.

API unit family: TMSFNCHint Declaring type: TTMSFNCCustomHint

Syntax

FMX.TMSFNCHint.hppPascalC++
function Calculate(AHint: string): TRect; virtual;
virtual System::Types::TRect __fastcall Calculate(System::UnicodeString AHint);

Parameters

Name Description
AHint The hint text to measure.

Returns

A rectangle large enough to render AHint with the current font and padding.