Skip to main content
Table of Contents

TTMSFNCDataGridFNCButtonCell.DrawText Method

Paints Text in TextRect using the alignment, wrapping, trimming, and angle of the layout, clipped to the cell rectangle.

API unit family: TMSFNCDataGridCell Declaring type: TTMSFNCDataGridFNCButtonCell Inherited from: TTMSFNCDataGridCell

Syntax

FMX.TMSFNCDataGridCell.hppPascalC++
procedure DrawText(AGraphics: TTMSFNCGraphics); virtual;
virtual void __fastcall DrawText(TTMSFNCGraphics* AGraphics);

Remarks

Nothing is painted when the text is empty. HTML markup in the text is rendered.

Parameters

Name Description
AGraphics Graphics context to paint into; its font is already set from the layout by Draw.