Table of Contents

TTMSFNCDataGridDataIOOptions Class

Options for CSV and native file I/O: delimiter character, row/column range, quoting behaviour, and whitespace trimming.

API unit family: TMSFNCDataGridData Inherits from: TPersistent

Syntax

TTMSFNCDataGridDataIOOptions = class(TPersistent)

Properties

Name Description
AlwaysQuotes When True, all cell values are wrapped in double quotes in the CSV output regardless of content. Default is False.
Delimiter Column delimiter character used in CSV import/export. Use #0 (default) to auto-detect from the file or fall back to comma.
ExportScale Scale factor applied when exporting to an image or PDF via IO helpers. Default is 1.0 (stored only when different from 1.0).
MaxRows Maximum number of data rows to import or export. Use -1 (default) for no limit.
OpenAfterCreation When True (default), the created output file is opened in the default OS application after export.
QuoteEmptyCells When True (default), empty cells are exported as empty quoted strings (""). Set to False to export empty cells as nothing.
StartColumn Zero-based first column included in the export/import range. Default is 0.
StartRow Zero-based first row included in the export/import range. Default is 0.
TrimSpaces When True, leading and trailing whitespace is stripped from each cell value during import. Default is False.

Used by