Skip to main content
Table of Contents

TTMSFNCHTMLText.GetTextRect Method

Calculates the text bounds required for the current content and rendering options.

API unit family: TMSFNCHTMLText Declaring type: TTMSFNCHTMLText

Syntax

FMX.TMSFNCHTMLText.hppPascalC++
function GetTextRect: TRectF; virtual;
virtual System::Types::TRectF __fastcall GetTextRect();

Returns

Rectangle that contains the measured text, including auto-size spacing.