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

function Calculate(AHint: string): TRect; virtual;

Parameters

Name Description
AHint The hint text to measure.

Returns

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