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