# GrapeCity.ActiveReports.Viewer.Win.Viewer.CanExport

## Content

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



<h1 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_CanExport_" data-uid="GrapeCity.ActiveReports.Viewer.Win.Viewer.CanExport*">CanExport Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Viewer_Win_Viewer_CanExport_" data-uid="GrapeCity.ActiveReports.Viewer.Win.Viewer.CanExport*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_CanExport" data-uid="GrapeCity.ActiveReports.Viewer.Win.Viewer.CanExport">CanExport</h4>
<div class="markdown level1 summary"><p>Gets a value indicating whether exporting the report is permitted.</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 bool CanExport { 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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><code>True</code> if export is permitted; otherwise, <code>false</code>.
Exporting is permitted only if the viewer is not disposed, there is at least one page loaded in the viewer, and the underlying API supports exporting.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_CanExport_examples">Examples</h5>
<pre><code class="lang-csharp">// Assuming 'exportMenuItem' is a ToolStripMenuItem for exporting
exportMenuItem.Enabled = viewer.CanExport;</code></pre>

</div>
