# C1.C1Preview.C1PrintDocument.CurrentPageLayout

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1PrintDocument_CurrentPageLayout_" data-uid="C1.C1Preview.C1PrintDocument.CurrentPageLayout*">CurrentPageLayout Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1PrintDocument_CurrentPageLayout_" data-uid="C1.C1Preview.C1PrintDocument.CurrentPageLayout*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_CurrentPageLayout" data-uid="C1.C1Preview.C1PrintDocument.CurrentPageLayout">CurrentPageLayout</h4>
<div class="markdown level1 summary"><p>Gets the effective layout for the current page. That layout is automatically
built on the fly by merging all applicable layouts defined for the current document in <a class="xref" href="C1.C1Preview.C1PrintDocument.PageLayouts.html#C1_C1Preview_C1PrintDocument_PageLayouts">PageLayouts</a>.
You may change the properties on <b>CurrentPageLayout</b> programmatically. The changes will be
effective immediately if they are made in the <a class="xref" href="C1.C1Preview.C1PrintDocument.PageConfigure.html">PageConfigure</a> event handler,
otherwise they will take effect for the next added page.</p>
<p>
Note that this property is only available during document generation, at other times null is returned.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public PageLayout CurrentPageLayout { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public ReadOnly Property CurrentPageLayout As PageLayout</code></pre>
</div>
</div>
