CSV export
The CSV export produces a delimited text file that contains the values of all visible table cells in the report. It is provided by the core combit.ListLabel31.CrossPlatform package and selected with LlExportTarget.Csv.
CSV is intended for structured data exchange — the export does not preserve fonts, colors, page layout, or any non-table objects. Only cell content is written; formatting and graphical elements from the report project are intentionally dropped.
Tip
Use XLSX export when you need a spreadsheet that retains formatting, headers and footers, or multiple sheets. CSV is the right choice when the consumer is a script, ETL job, or data-import process.
Supported export options
All options are set on ExportConfiguration.ExportOptions using the LlExportOption keys listed below. Values are always strings.
TxtSeparatorChar
Sets the field separator character.
- Value: a single character (for example
",",";", or"\t"). - Default:
,.
If the value is empty, the default separator is used. Only the first character of the string is used.
TxtFrameChar
Sets the text qualifier used to wrap field values that contain the separator or line breaks.
- Value: a string used verbatim around qualified fields (typically
"\""). - Default: no qualifier.
TxtCharset
Sets the character encoding used when writing the file. The value is passed to Encoding.GetEncoding, so any encoding name supported by .NET can be used (for example "utf-8", "windows-1252", "iso-8859-1").
Note
Some encodings require the System.Text.Encoding.CodePages package and explicit registration via Encoding.RegisterProvider on .NET. UTF-8 is always available.
Restrictions
- Only table content is exported. Free text objects, charts, barcodes, images, lines, and rectangles are not included.
- All formatting (font, color, alignment) is dropped.
- Page headers, footers, and page breaks are not represented.
- The CSV export does not write a Byte Order Mark by itself; whether one is emitted depends on the chosen encoding.