# C1.Report.Section.CalculateSize

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Report_Section_CalculateSize_" data-uid="C1.Report.Section.CalculateSize*">CalculateSize Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Report_Section_CalculateSize_" data-uid="C1.Report.Section.CalculateSize*"></a>
<h4 id="C1_Report_Section_CalculateSize" data-uid="C1.Report.Section.CalculateSize">CalculateSize()</h4>
<div class="markdown level1 summary"><p>Calculates section's size.
Note! This method does not execute <a class="xref" href="C1.Report.Section.OnFormat.html#C1_Report_Section_OnFormat">OnFormat</a> script and
does not fire <a class="xref" href="C1.Report.FlexReport.StartSection.html">StartSection</a> event and intended
to be used from VB scripts to update <a class="xref" href="C1.Report.Section.RenderHeight.html#C1_Report_Section_RenderHeight">RenderHeight</a> property.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void CalculateSize()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub CalculateSize()</code></pre>
</div>
</div>
