# C1.Report.FlexReport.PrintSection

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_Report_FlexReport_PrintSection" data-uid="C1.Report.FlexReport.PrintSection" class="text-break">PrintSection Event
</h1>
<div class="markdown level0 summary"><p>Occurs before each <a class="xref" href="C1.Report.Section.html">Section</a> is printed (after it has been formatted.)</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_PrintSection_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Description(&quot;C1FlexReport.PrintSection&quot;, &quot;Occurs before each Section is printed (after it has been formatted.)&quot;)]
public event ReportEventHandler PrintSection</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Description(&quot;C1FlexReport.PrintSection&quot;, &quot;Occurs before each Section is printed (after it has been formatted.)&quot;)&gt;
Public Event PrintSection 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 before each  is printed (after it has been formatted.)</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Report_FlexReport_PrintSection_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>When this event fires, the field values and sizes have been set by the control.</p>
<p>You may still make changes, but they will not affect the field layout. For example, changing a field's 
<a class="xref" href="C1.Report.Field.Text.html#C1_Report_Field_Text">Text</a> property at this point will not cause it to grow or shrink.</p>
<p>This event is equivalent to the <a class="xref" href="C1.Report.Section.OnPrint.html#C1_Report_Section_OnPrint">OnPrint</a> script property.</p>
</div>
</div>
