# C1.Report.FlexReport.StartPage

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_Report_FlexReport_StartPage" data-uid="C1.Report.FlexReport.StartPage" class="text-break">StartPage Event
</h1>
<div class="markdown level0 summary"><p>Occurs when a new page starts rendering.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="C1.Report.html">C1.Report</a></h6>
<h6><strong>Assembly</strong>: C1.Report.dll</h6>
<h5 id="C1_Report_FlexReport_StartPage_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Description(&quot;C1FlexReport.StartPage&quot;, &quot;Occurs when a new page starts rendering.&quot;)]
public event ReportEventHandler StartPage</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Description(&quot;C1FlexReport.StartPage&quot;, &quot;Occurs when a new page starts rendering.&quot;)&gt;
Public Event StartPage As ReportEventHandler</code></pre>
</div>
<h5 class="returns">Returns</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="C1.Report.ReportEventHandler.html">ReportEventHandler</a></td>
      <td>Occurs when a new page starts rendering.</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Report_FlexReport_StartPage_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>This event is useful for updating the user interface to show how many pages have been printed so far.</p>
<p>You can use the <a class="xref" href="C1.Report.FlexReport.Cancel.html#C1_Report_FlexReport_Cancel">Cancel</a> property while handling this event to cancel rendering the report.
To limit the number of pages that can be printed, use the <a class="xref" href="C1.Report.FlexReport.MaxPages.html#C1_Report_FlexReport_MaxPages">MaxPages</a> property instead.</p>
</div>
</div>
