TTMSFNCRichEditor.PaintTo Method
Paints the content to an arbitrary canvas and rectangle, for example to render a preview or a custom print page.
API unit family: TMSFNCRichEditor
Declaring type: TTMSFNCRichEditor
Syntax
procedure PaintTo(ACanvas: TCanvas; ARect: TRect);
HIDESBASE void __fastcall PaintTo(Fmx::Graphics::TCanvas* ACanvas, const System::Types::TRect &ARect);
Parameters
| Name | Description |
|---|---|
ACanvas |
The canvas to paint on. |
ARect |
The rectangle, in canvas coordinates, to paint the content into. |