# GrapeCity.ActiveReports.SectionReport.Document

## Content

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



<h1 id="GrapeCity_ActiveReports_SectionReport_Document_" data-uid="GrapeCity.ActiveReports.SectionReport.Document*">Document Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_SectionReport_Document_" data-uid="GrapeCity.ActiveReports.SectionReport.Document*"></a>
<h4 id="GrapeCity_ActiveReports_SectionReport_Document" data-uid="GrapeCity.ActiveReports.SectionReport.Document">Document</h4>
<div class="markdown level1 summary"><p>Gets a value representing the report output that can be printed, displayed in the viewer or exported to an external document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public SectionDocument Document { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Document.SectionDocument.html">SectionDocument</a></td>
      <td><p>A <a class="xref" href="GrapeCity.ActiveReports.Document.SectionDocument.html">SectionDocument</a> instance.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_SectionReport_Document_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Allows to modify already rendered document or specify &quot;Printer&quot; properties.</p>
</div>
<h5 id="GrapeCity_ActiveReports_SectionReport_Document_examples">Examples</h5>
<pre><code class="lang-csharp">var sectionReport = new GrapeCity.ActiveReports.SectionReport();
XmlTextReader xtr = new XmlTextReader(reportName);
sectionReport.LoadLayout(xtr);
sectionReport.Document.Printer.PrinterName = String.Empty;
sectionReport.Run();
IDocumentExport documentExportEx = new GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport();
using (var stream = new FileStream(fileName, FileMode.Create))
documentExportEx.Export(sectionReport.Document, stream);</code></pre>

</div>
