# GrapeCity.ActiveReports.Extensibility.Layout.LayoutState.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_Extensibility_Layout_LayoutState__ctor_" data-uid="GrapeCity.ActiveReports.Extensibility.Layout.LayoutState.#ctor*">LayoutState Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Extensibility_Layout_LayoutState__ctor_" data-uid="GrapeCity.ActiveReports.Extensibility.Layout.LayoutState.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Extensibility_Layout_LayoutState__ctor_GrapeCity_ActiveReports_Extensibility_Layout_ILayoutTree_GrapeCity_ActiveReports_Extensibility_Layout_ITargetDevice_System_Int32_" data-uid="GrapeCity.ActiveReports.Extensibility.Layout.LayoutState.#ctor(GrapeCity.ActiveReports.Extensibility.Layout.ILayoutTree,GrapeCity.ActiveReports.Extensibility.Layout.ITargetDevice,System.Int32)">LayoutState(ILayoutTree, ITargetDevice, int)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Layout.LayoutState.html">LayoutState</a> and initializes it with specified value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public LayoutState(ILayoutTree layoutTree, ITargetDevice targetDevice, int lastPageLaidOut)</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="GrapeCity.ActiveReports.Extensibility.Layout.ILayoutTree.html">ILayoutTree</a></td>
      <td><span class="parametername">layoutTree</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Extensibility.Layout.ITargetDevice.html">ITargetDevice</a></td>
      <td><span class="parametername">targetDevice</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">lastPageLaidOut</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Extensibility_Layout_LayoutState__ctor_" data-uid="GrapeCity.ActiveReports.Extensibility.Layout.LayoutState.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Extensibility_Layout_LayoutState__ctor_GrapeCity_ActiveReports_Extensibility_Layout_ILayoutTree_GrapeCity_ActiveReports_Extensibility_Layout_ITargetDevice_System_Int32_System_Boolean_" data-uid="GrapeCity.ActiveReports.Extensibility.Layout.LayoutState.#ctor(GrapeCity.ActiveReports.Extensibility.Layout.ILayoutTree,GrapeCity.ActiveReports.Extensibility.Layout.ITargetDevice,System.Int32,System.Boolean)">LayoutState(ILayoutTree, ITargetDevice, int, bool)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Layout.LayoutState.html">LayoutState</a> and initializes it with specified value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public LayoutState(ILayoutTree layoutTree, ITargetDevice targetDevice, int lastPageLaidOut, bool isLastInDocument)</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="GrapeCity.ActiveReports.Extensibility.Layout.ILayoutTree.html">ILayoutTree</a></td>
      <td><span class="parametername">layoutTree</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Extensibility.Layout.ITargetDevice.html">ITargetDevice</a></td>
      <td><span class="parametername">targetDevice</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">lastPageLaidOut</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isLastInDocument</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
