TTMSFNCDataGridPDFIO Class
Non-visual component that exports a
TTMSFNCDataGridto a PDF document. Drop it on a form alongside a grid, setDataGrid, and callSaveorSaveToFileto produce the PDF.
API unit family: TMSFNCDataGridPDFIO
Inherits from: TTMSFNCCustomDataGridPDFIO
Syntax
TTMSFNCDataGridPDFIO = class(TTMSFNCCustomDataGridPDFIO)
Properties
| Name | Description |
|---|---|
| DataGrid | The grid component whose content is exported. Assigning this property also sets Renderer to the grid's root renderer. Set to nil to disconnect. (inherited from TTMSFNCCustomDataGridPDFIO) |
| Options | Export options controlling scaling, page fitting, and fixed row/column repetition. See TTMSFNCDataGridPDFIOOptions. (inherited from TTMSFNCCustomDataGridPDFIO) |
| Renderer | The underlying renderer to export. Automatically set when DataGrid is assigned. Assign directly when exporting a standalone renderer not hosted in a form component. (inherited from TTMSFNCCustomDataGridPDFIO) |
| Version | Component version string in Major.Minor.Release.Build format. (inherited from TTMSFNCCustomDataGridPDFIO) |
Events
| Name | Description |
|---|---|
| OnRowIsPageBreak | Fired for each row before it is written to the PDF, allowing the application to insert a page break at that row. See TTMSFNCDataGridPDFIORowIsPageBreakEvent. (inherited from TTMSFNCCustomDataGridPDFIO) |