Search Results for

    Show / Hide Table of Contents

    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
    };

    ------------------------------------------------

    Inheritance
    System.Object
    ExportOptionsBase
    CsvExportOptions
    Inherited Members
    ExportOptionsBase.SpanMode
    ExportOptionsBase.IncludeHeaders
    ExportOptionsBase.IncludeEmptyRows
    ExportOptionsBase.TextEncoding
    Namespace: IronPdf.Extractions
    Assembly: IronPdf.dll
    Syntax
    public class CsvExportOptions : ExportOptionsBase
    Remarks

    Important Considerations:

    Delimiter Choice: Common delimiters include comma (,), semicolon (;), and tab (\t).

    Note: CSV delimiter and quoting options affect how data is interpreted by spreadsheet applications.

    Related Documentation:

    How-To Guide: CSV Export Guide

    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

    Inherited members

    SpanMode
    IncludeHeaders
    IncludeEmptyRows
    TextEncoding
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.