Skip to main content
Table of Contents

TTMSFNCDataGridPDFIO.OnRowIsPageBreak Event

Occurs for every row before the export starts, so the application can force a page break before that row.

API unit family: TMSFNCDataGridPDFIO Declaring type: TTMSFNCDataGridPDFIO Inherited from: TTMSFNCCustomDataGridPDFIO

Syntax

FMX.TMSFNCDataGridPDFIO.hppPascalC++
OnRowIsPageBreak: TTMSFNCDataGridPDFIORowIsPageBreakEvent;
__property TTMSFNCDataGridPDFIORowIsPageBreakEvent OnRowIsPageBreak = {read=FOnRowIsPageBreak, write=FOnRowIsPageBreak};

Remarks

Fires in row order in a single pass before any drawing. Enable TTMSFNCDataGridPDFIOOptions.RepeatFixedRows to repeat the header on each new page.

Parameters

Name Description
Sender PDF export component that raised the event.
AExportObject Renderer being exported.
ARow Zero-based row index being evaluated, including fixed rows.
IsPageBreak False on entry. Set to True to start a new page with this row.