# C1.Document.Export.Ssrs.CsvExporter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Document_Export_Ssrs_CsvExporter" data-uid="C1.Document.Export.Ssrs.CsvExporter" class="text-break">CsvExporter Class
</h1>
  <div class="markdown level0 summary"><p>Represents an object that can be used to export a SSRS report to CSV.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Document.Export.ExportFilter.html">ExportFilter</a></div>
    <div class="level2"><a class="xref" href="C1.Document.Export.Ssrs.Exporter.html">Exporter</a></div>
    <div class="level3"><span class="xref">CsvExporter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Document.Export.Ssrs.html">C1.Document.Export.Ssrs</a></h6>
  <h6><strong>Assembly</strong>: C1.Document.dll</h6>
  <h5 id="C1_Document_Export_Ssrs_CsvExporter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CsvExporter : Exporter, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CsvExporter
    Inherits Exporter
    Implements IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Document_Export_Ssrs_CsvExporter__ctor" data-uid="C1.Document.Export.Ssrs.CsvExporter.#ctor">
          <a class="xref" href="C1.Document.Export.Ssrs.CsvExporter.-ctor.html#C1_Document_Export_Ssrs_CsvExporter__ctor">CsvExporter()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Document_Export_Ssrs_CsvExporter_Encoding" data-uid="C1.Document.Export.Ssrs.CsvExporter.Encoding">
          <a class="xref" href="C1.Document.Export.Ssrs.CsvExporter.Encoding.html#C1_Document_Export_Ssrs_CsvExporter_Encoding">Encoding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the character encoding scheme: ASCII, UTF7, UTF8, or Unicode.
The default value is UTF8.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Export_Ssrs_CsvExporter_ExcelMode" data-uid="C1.Document.Export.Ssrs.CsvExporter.ExcelMode">
          <a class="xref" href="C1.Document.Export.Ssrs.CsvExporter.ExcelMode.html#C1_Document_Export_Ssrs_CsvExporter_ExcelMode">ExcelMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the target output is for Excel.
The default value is true.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Export_Ssrs_CsvExporter_ExportProvider" data-uid="C1.Document.Export.Ssrs.CsvExporter.ExportProvider">
          <a class="xref" href="C1.Document.Export.Ssrs.CsvExporter.ExportProvider.html#C1_Document_Export_Ssrs_CsvExporter_ExportProvider">ExportProvider</a>
        </td>
        <td class="markdown level1 summary"><p>Gets <a class="xref" href="C1.Document.C1SSRSDocumentSource.CsvExportProvider.html">CsvExportProvider</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Export_Ssrs_CsvExporter_FieldDelimiter" data-uid="C1.Document.Export.Ssrs.CsvExporter.FieldDelimiter">
          <a class="xref" href="C1.Document.Export.Ssrs.CsvExporter.FieldDelimiter.html#C1_Document_Export_Ssrs_CsvExporter_FieldDelimiter">FieldDelimiter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the delimiter string to put in the result.
The default value is a comma &quot;,&quot;.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Export_Ssrs_CsvExporter_FileExtension" data-uid="C1.Document.Export.Ssrs.CsvExporter.FileExtension">
          <a class="xref" href="C1.Document.Export.Ssrs.CsvExporter.FileExtension.html#C1_Document_Export_Ssrs_CsvExporter_FileExtension">FileExtension</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the file extension to put on the result.
The default value is .CSV.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Export_Ssrs_CsvExporter_NoHeader" data-uid="C1.Document.Export.Ssrs.CsvExporter.NoHeader">
          <a class="xref" href="C1.Document.Export.Ssrs.CsvExporter.NoHeader.html#C1_Document_Export_Ssrs_CsvExporter_NoHeader">NoHeader</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the header row is excluded from the output.
The default value is false.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Export_Ssrs_CsvExporter_Qualifier" data-uid="C1.Document.Export.Ssrs.CsvExporter.Qualifier">
          <a class="xref" href="C1.Document.Export.Ssrs.CsvExporter.Qualifier.html#C1_Document_Export_Ssrs_CsvExporter_Qualifier">Qualifier</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the qualifier string to put around results that contain the field delimiter or record
delimiter. If the results contain the qualifier, the qualifier is repeated.
The Qualifier setting must be different from the FieldDelimiter and RecordDelimiter settings.
The default value is a quotation mark (&quot;).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Export_Ssrs_CsvExporter_RecordDelimiter" data-uid="C1.Document.Export.Ssrs.CsvExporter.RecordDelimiter">
          <a class="xref" href="C1.Document.Export.Ssrs.CsvExporter.RecordDelimiter.html#C1_Document_Export_Ssrs_CsvExporter_RecordDelimiter">RecordDelimiter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets ot sets the record delimiter to put at the end of each record.
The default value is &lt;cr&gt;&lt;lf&gt;.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Export_Ssrs_CsvExporter_SuppressLineBreaks" data-uid="C1.Document.Export.Ssrs.CsvExporter.SuppressLineBreaks">
          <a class="xref" href="C1.Document.Export.Ssrs.CsvExporter.SuppressLineBreaks.html#C1_Document_Export_Ssrs_CsvExporter_SuppressLineBreaks">SuppressLineBreaks</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets value indicating whether line breaks are removed from the data included in the output.
The default value is false.
If the value is true, the FieldDelimiter, RecordDelimiter, and Qualifier settings cannot be a space character.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Export_Ssrs_CsvExporter_UseFormattedValues" data-uid="C1.Document.Export.Ssrs.CsvExporter.UseFormattedValues">
          <a class="xref" href="C1.Document.Export.Ssrs.CsvExporter.UseFormattedValues.html#C1_Document_Export_Ssrs_CsvExporter_UseFormattedValues">UseFormattedValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether formatted strings are put into the CSV output.
<b>null</b> indicates default value true when ExcelMode is true; otherwise it is false.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Document_Export_Ssrs_CsvExporter_GetDevInfo" data-uid="C1.Document.Export.Ssrs.CsvExporter.GetDevInfo">
          <a class="xref" href="C1.Document.Export.Ssrs.CsvExporter.GetDevInfo.html#C1_Document_Export_Ssrs_CsvExporter_GetDevInfo">GetDevInfo()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns DeviceInfo string for SSRS.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Export_Ssrs_CsvExporter_GetFormat" data-uid="C1.Document.Export.Ssrs.CsvExporter.GetFormat">
          <a class="xref" href="C1.Document.Export.Ssrs.CsvExporter.GetFormat.html#C1_Document_Export_Ssrs_CsvExporter_GetFormat">GetFormat()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns format identifier for SSRS.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
