Class CsvExportOptions
Configuration options for CSV exports
Provides control over delimiters, quoting, and cell formatting specific to CSV format.
------------------------------------------------
Usage:
var options = new CsvExportOptions
{
CsvDelimiter = ";",
CsvQuoteStrings = true,
CsvNewlineReplacement = " ",
IncludeHeaders = true
};
------------------------------------------------
Inherited Members
Namespace: IronPdf.Extractions
Assembly: IronPdf.dll
Syntax
public class CsvExportOptions : ExportOptionsBase
Use CsvExportOptions in IronPDF when a C# application works with text extraction. It represents configuration options for CSV exports Provides control over delimiters, quoting, and cell formatting specific to CSV format. ------------------------------------------------ Usage: var options = new CsvExportOptions { CsvDelimiter = ";", CsvQuoteStrings = true, CsvNewlineReplacement = " ", IncludeHeaders = true }; ------------------------------------------------.
CsvExportOptions matters when an application needs to configure or invoke text extraction from C# code. The class encapsulates the related options and behavior in a single object that is set up once and reused across render or processing calls. Typical scenarios include batch generation pipelines, templated document workflows, and integration with existing C# document services.
To use CsvExportOptions, instantiate or obtain it from the relevant entry point in the IronPDF C# API. Key properties include CsvDelimiter, CsvNewlineReplacement, CsvQuoteStrings. Assign options or invoke methods on the instance to configure or perform the operation. The export save PDF csharp covers typical usage in C# end to end.
using IronPdf;
var instance = new CsvExportOptions();
var current = instance.CsvDelimiter;
// Read or assign other properties such as CsvNewlineReplacement, CsvQuoteStringsFor the broader workflow, see the IronPDF C# documentation for related how-to guides and examples. For broader context, the text extraction portion of the IronPDF C# API contains related types that work with CsvExportOptions directly. CsvExportOptions instances inherit additional members from ExportOptionsBase that may be relevant in advanced scenarios. In application code, treat CsvExportOptions as a configured object that is constructed once and reused across operations rather than instantiated per call. Configuration is generally idempotent: assigning the same property value twice has the same effect as assigning it once. For diagnostic purposes, inspect the relevant CsvExportOptions property after each operation to confirm the configured state. See the constructors, properties, and methods tables below for the complete API surface of CsvExportOptions.
Constructors
CsvExportOptions()
Declaration
public CsvExportOptions()
Properties
CsvDelimiter
CSV delimiter character
Default: comma (,)
Declaration
public string CsvDelimiter { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
CsvNewlineReplacement
Replacement for newlines in CSV cells
Default: space
Declaration
public string CsvNewlineReplacement { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
CsvQuoteStrings
Whether to quote strings in CSV output
Default: true
Declaration
public bool CsvQuoteStrings { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |