TTMSFNCDataGridPrintIOOptions Class
Print options for
TTMSFNCDataGridPrintIO: scaling, fit-to-page width, and repetition of fixed rows and columns on every printed page.
API unit family: TMSFNCDataGridPrintIO
Inherits from: TTMSFNCPrintIOOptions
Syntax
TTMSFNCDataGridPrintIOOptions = class(TTMSFNCPrintIOOptions)
class PASCALIMPLEMENTATION TTMSFNCDataGridPrintIOOptions : public TTMSFNCPrintIOOptions
Remarks
Extends the general printer options (margins, header, footer, page number, orientation, page size) inherited from the base print options class with grid-specific settings. The object is created and owned by the print component; access it through TTMSFNCCustomDataGridPrintIO.Options and change its properties rather than replacing it.
The same four settings exist on the PDF exporter (TTMSFNCDataGridPDFIOOptions) and behave identically.
Properties
| Name | Description |
|---|---|
| FitToPage | When True (default), the printed columns are scaled so their total width exactly fills the printable width of the page. |
| RepeatFixedColumns | When True, the fixed columns are printed again at the left of every page. Default is False. |
| RepeatFixedRows | When True, the fixed rows (such as the column header row) are printed again at the top of every page. Default is False. |
| Scale | Uniform scale factor applied to column widths and row heights when printing. Default is 1.0 (natural size). |