# C1.C1Preview.C1PrintDocument.OnPageChanged

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1PrintDocument_OnPageChanged_" data-uid="C1.C1Preview.C1PrintDocument.OnPageChanged*">OnPageChanged Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1PrintDocument_OnPageChanged_" data-uid="C1.C1Preview.C1PrintDocument.OnPageChanged*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_OnPageChanged_C1_C1Preview_C1Page_" data-uid="C1.C1Preview.C1PrintDocument.OnPageChanged(C1.C1Preview.C1Page)">OnPageChanged(C1Page)</h4>
<div class="markdown level1 summary"><p>Called during document generation after a <a class="xref" href="C1.C1Preview.C1Page.html">C1Page</a>
that has already been added to the document has changed
(e.g. if page numbering is changed, or the <b>PageCount</b> tag used on the page is updated),
raises the <a class="xref" href="C1.C1Preview.C1PrintDocument.PageChanged.html">PageChanged</a> event.</p>
<p>
See also <a class="xref" href="C1.C1Preview.C1PrintDocument.OnPageUpdated.html#C1_C1Preview_C1PrintDocument_OnPageUpdated_C1_C1Preview_C1Page_">OnPageUpdated(C1Page)</a>.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual void OnPageChanged(C1Page page)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Sub OnPageChanged(page As C1Page)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.C1Page.html">C1Page</a></td>
      <td><span class="parametername">page</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.C1Page.html">C1Page</a> object identifying the changed page.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
