Table of Contents

TTMSFNCDataGridPrintIO Class

Non-visual component that sends a TTMSFNCDataGrid to the system printer. Drop it on a form alongside a grid, set DataGrid, and call Print to start printing.

API unit family: TMSFNCDataGridPrintIO Inherits from: TTMSFNCCustomDataGridPrintIO

Syntax

TTMSFNCDataGridPrintIO = class(TTMSFNCCustomDataGridPrintIO)

Properties

Name Description
DataGrid The grid component whose content is printed. Assigning this property also sets Renderer to the grid's root renderer. Set to nil to disconnect. (inherited from TTMSFNCCustomDataGridPrintIO)
Options Print options controlling scaling, page fitting, and fixed row/column repetition. See TTMSFNCDataGridPrintIOOptions. (inherited from TTMSFNCCustomDataGridPrintIO)
Renderer The underlying renderer to print. Automatically set when DataGrid is assigned. Assign directly when printing a standalone renderer not hosted in a form component. (inherited from TTMSFNCCustomDataGridPrintIO)
Version Component version string in Major.Minor.Release.Build format. (inherited from TTMSFNCCustomDataGridPrintIO)

Events

Name Description
OnRowIsPageBreak Fired for each row before it is sent to the printer, allowing the application to insert a manual page break. See TTMSFNCDataGridPrintIORowIsPageBreakEvent. (inherited from TTMSFNCCustomDataGridPrintIO)

Used by