# GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Export

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfExport_Export_" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Export*">Export Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfExport_Export_" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Export*"></a>
<h4 id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfExport_Export_GrapeCity_ActiveReports_Document_SectionDocument_System_String_" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Export(GrapeCity.ActiveReports.Document.SectionDocument,System.String)">Export(SectionDocument, string)</h4>
<div class="markdown level1 summary"><p>Exports the specified document to a PDF file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Export(SectionDocument document, string filePath)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Document.SectionDocument.html">SectionDocument</a></td>
      <td><span class="parametername">document</span></td>
      <td><p>The ActiveReports <a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Document.SectionDocument.html">SectionDocument</a>Document object to export.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">filePath</span></td>
      <td><p>The file name and path to save the main PDF file to.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Export.IDocumentExport.Export.html#GrapeCity_ActiveReports_Export_IDocumentExport_Export_GrapeCity_ActiveReports_Document_SectionDocument_System_String_">IDocumentExport.Export(SectionDocument, string)</a></div>


<a id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfExport_Export_" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Export*"></a>
<h4 id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfExport_Export_GrapeCity_ActiveReports_Document_SectionDocument_System_String_System_String_" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Export(GrapeCity.ActiveReports.Document.SectionDocument,System.String,System.String)">Export(SectionDocument, string, string)</h4>
<div class="markdown level1 summary"><p>Exports the specified document to a PDF file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Export(SectionDocument document, string filePath, string pageRange)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Document.SectionDocument.html">SectionDocument</a></td>
      <td><span class="parametername">document</span></td>
      <td><p>The ActiveReports <a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Document.SectionDocument.html">SectionDocument</a>Document object to export.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">filePath</span></td>
      <td><p>The file name and path to save the main PDF file to.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">pageRange</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Export.IDocumentExport.Export.html#GrapeCity_ActiveReports_Export_IDocumentExport_Export_GrapeCity_ActiveReports_Document_SectionDocument_System_String_System_String_">IDocumentExport.Export(SectionDocument, string, string)</a></div>


<a id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfExport_Export_" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Export*"></a>
<h4 id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfExport_Export_GrapeCity_ActiveReports_Document_SectionDocument_System_IO_Stream_" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Export(GrapeCity.ActiveReports.Document.SectionDocument,System.IO.Stream)">Export(SectionDocument, Stream)</h4>
<div class="markdown level1 summary"><p>Exports the specified document to a PDF stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Export(SectionDocument document, Stream stream)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Document.SectionDocument.html">SectionDocument</a></td>
      <td><span class="parametername">document</span></td>
      <td><p>The ActiveReports <code>GrapeCity.ActiveReports.Document.SectionDocument</code> object to export.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>The stream to save the PDF document to.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Export.IDocumentExport.Export.html#GrapeCity_ActiveReports_Export_IDocumentExport_Export_GrapeCity_ActiveReports_Document_SectionDocument_System_IO_Stream_">IDocumentExport.Export(SectionDocument, Stream)</a></div>


<a id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfExport_Export_" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Export*"></a>
<h4 id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfExport_Export_GrapeCity_ActiveReports_Document_SectionDocument_System_IO_Stream_System_String_" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Export(GrapeCity.ActiveReports.Document.SectionDocument,System.IO.Stream,System.String)">Export(SectionDocument, Stream, string)</h4>
<div class="markdown level1 summary"><p>Exports the specified document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Export(SectionDocument document, Stream stream, string pageRange)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Document.SectionDocument.html">SectionDocument</a></td>
      <td><span class="parametername">document</span></td>
      <td><p>The document.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>The stream.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">pageRange</span></td>
      <td><p>The page range.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Export.IDocumentExport.Export.html#GrapeCity_ActiveReports_Export_IDocumentExport_Export_GrapeCity_ActiveReports_Document_SectionDocument_System_IO_Stream_System_String_">IDocumentExport.Export(SectionDocument, Stream, string)</a></div>
</div>
