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

function GetTextCellRect(ACell: TTMSFNCBloxTextCell; ARect: TTMSFNCBloxRect): TTMSFNCBloxRect; virtual;

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.