Skip to main content
Table of Contents

TTMSFNCBloxElement.GetTextCellRect Method

Converts the relative rectangle of a text cell into canvas coordinates. Block descendants override this to translate relative cell coordinates using their own size.

API unit family: TMSFNCBloxCoreElement Declaring type: TTMSFNCBloxElement

Syntax

FMX.TMSFNCBloxCoreElement.hppPascalC++
function GetTextCellRect(ACell: TTMSFNCBloxTextCell; ARect: TTMSFNCBloxRect): TTMSFNCBloxRect; virtual;
virtual TTMSFNCBloxRect __fastcall GetTextCellRect(TTMSFNCBloxTextCell* ACell, const TTMSFNCBloxRect &ARect);

Parameters

Name Description
ACell Text cell the rectangle belongs to.
ARect Rectangle settings of the text cell to convert.

Returns

The text cell rectangle in canvas coordinates.