# GrapeCity.ActiveReports.Design.Designer.PreviewPages

## Content

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



<h1 id="GrapeCity_ActiveReports_Design_Designer_PreviewPages_" data-uid="GrapeCity.ActiveReports.Design.Designer.PreviewPages*">PreviewPages Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Design_Designer_PreviewPages_" data-uid="GrapeCity.ActiveReports.Design.Designer.PreviewPages*"></a>
<h4 id="GrapeCity_ActiveReports_Design_Designer_PreviewPages" data-uid="GrapeCity.ActiveReports.Design.Designer.PreviewPages">PreviewPages</h4>
<div class="markdown level1 summary"><p>Gets or sets a value representing the number of pages of the report that should be generated for preview.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int PreviewPages { get; set; }</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.int32">int</a></td>
      <td><p>The number of preview pages.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Design_Designer_PreviewPages_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This value must be between 0 and 10000, inclusive.</p>
</div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception">ArgumentOutOfRangeException</a></td>
      <td><p>Thrown when the provided value is less than 0 or greater than 10000.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
