# GrapeCity.ActiveReports.Document.SectionDocument.PrintProgress

## Content

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




<h1 id="GrapeCity_ActiveReports_Document_SectionDocument_PrintProgress" data-uid="GrapeCity.ActiveReports.Document.SectionDocument.PrintProgress" class="text-break">PrintProgress Event
</h1>
<div class="markdown level0 summary"><p>Occurs when the document pages are printing.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Document.html">GrapeCity.ActiveReports.Document</a></h6>
<h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
<h5 id="GrapeCity_ActiveReports_Document_SectionDocument_PrintProgress_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event PrintProgressEventHandler PrintProgress</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="GrapeCity.ActiveReports.Printing.PrintProgressEventHandler.html">PrintProgressEventHandler</a></td>
      <td>Occurs when the document pages are printing.</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Document_SectionDocument_PrintProgress_examples"><strong>Examples</strong></h5>
<pre><code class="lang-csharp">private GrapeCity.ActiveReports.SectionReport sectionReport = new GrapeCity.ActiveReports.SectionReport();
private int pageNum = 0;
private void button_Click(object sender, RoutedEventArgs e)
{
	sectionReport.Document.PrintProgress  += (sender, e) =&gt;
	{
		label1.Text = "Printing page: " + pageNum;
		pageNum++;
	};
	sectionReport.Document.Print();
}</code></pre>

</div>
