# GrapeCity.Spreadsheet.IO.OpenXml.ExportContext

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_IO_OpenXml_ExportContext" data-uid="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext" class="text-break">ExportContext Class
</h1>
  <div class="markdown level0 summary"><p>Represents the export context.</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"><span class="xref">ExportContext</span></div>
      <div class="level2"><a class="xref" href="GrapeCity.Spreadsheet.IO.Pdf.PdfExportContext.html">PdfExportContext</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.IO.OpenXml.html">GrapeCity.Spreadsheet.IO.OpenXml</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ExportContext</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ExportContext</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="GrapeCity_Spreadsheet_IO_OpenXml_ExportContext__ctor_GrapeCity_Spreadsheet_IO_OpenXml_UnitConverter_System_Func_System_String__" data-uid="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.#ctor(GrapeCity.Spreadsheet.IO.OpenXml.UnitConverter,System.Func{System.String})">
          <a class="xref" href="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.-ctor.html#GrapeCity_Spreadsheet_IO_OpenXml_ExportContext__ctor_GrapeCity_Spreadsheet_IO_OpenXml_UnitConverter_System_Func_System_String__">ExportContext(UnitConverter, Func&lt;string&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.html">ExportContext</a> class.</p>
</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="GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_ExportedSheets" data-uid="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.ExportedSheets">
          <a class="xref" href="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.ExportedSheets.html#GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_ExportedSheets">ExportedSheets</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the exported sheets. <code>null</code> to export all sheets.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_Options" data-uid="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.Options">
          <a class="xref" href="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.Options.html#GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_Options">Options</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the export options.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_UnitConverter" data-uid="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.UnitConverter">
          <a class="xref" href="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.UnitConverter.html#GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_UnitConverter">UnitConverter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the unit converter which converts measurement values.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_Worksheet" data-uid="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.Worksheet">
          <a class="xref" href="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.Worksheet.html#GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_Worksheet">Worksheet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the context worksheet.</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="GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_GetCellExporter" data-uid="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.GetCellExporter">
          <a class="xref" href="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.GetCellExporter.html#GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_GetCellExporter">GetCellExporter()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the data converter which convert custom data to OpenXML-compatible data.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_GetDataConverter__1" data-uid="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.GetDataConverter``1">
          <a class="xref" href="GrapeCity.Spreadsheet.IO.OpenXml.ExportContext.GetDataConverter.html#GrapeCity_Spreadsheet_IO_OpenXml_ExportContext_GetDataConverter__1">GetDataConverter&lt;T&gt;()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the data converter which convert custom data in extensible object to OpenXML-compatible data.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
