# C1.C1Preview.PageLayout

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_PageLayout" data-uid="C1.C1Preview.PageLayout" class="text-break">PageLayout Class
</h1>
  <div class="markdown level0 summary"><p>Represents the page layout of a <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">PageLayout</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_PageLayout_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1ClassSerialization(true)]
public class PageLayout : ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1ClassSerialization(True)&gt;
Public Class PageLayout
    Implements ICloneable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_PageLayout__ctor" data-uid="C1.C1Preview.PageLayout.#ctor">
          <a class="xref" href="C1.C1Preview.PageLayout.-ctor.html#C1_C1Preview_PageLayout__ctor">PageLayout()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.PageLayout.html">PageLayout</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_PageLayout__ctor_C1_C1Preview_C1PageSettings_" data-uid="C1.C1Preview.PageLayout.#ctor(C1.C1Preview.C1PageSettings)">
          <a class="xref" href="C1.C1Preview.PageLayout.-ctor.html#C1_C1Preview_PageLayout__ctor_C1_C1Preview_C1PageSettings_">PageLayout(C1PageSettings)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.PageLayout.html">PageLayout</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_PageLayout__ctor_C1_C1Preview_C1PageSettings_C1_C1Preview_PageColumnDef___" data-uid="C1.C1Preview.PageLayout.#ctor(C1.C1Preview.C1PageSettings,C1.C1Preview.PageColumnDef[])">
          <a class="xref" href="C1.C1Preview.PageLayout.-ctor.html#C1_C1Preview_PageLayout__ctor_C1_C1Preview_C1PageSettings_C1_C1Preview_PageColumnDef___">PageLayout(C1PageSettings, params PageColumnDef[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.PageLayout.html">PageLayout</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_PageLayout_Columns" data-uid="C1.C1Preview.PageLayout.Columns">
          <a class="xref" href="C1.C1Preview.PageLayout.Columns.html#C1_C1Preview_PageLayout_Columns">Columns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of <a class="xref" href="C1.C1Preview.PageColumnDef.html">PageColumnDef</a> objects associated with the current page layout.
Note that accessing this property initializes the collection of column definitions
if it has not been initialized yet.
Use <a class="xref" href="C1.C1Preview.PageLayout.HasColumns.html#C1_C1Preview_PageLayout_HasColumns">HasColumns</a> to test whether any columns have been defined on this layout.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_PageLayout_Document" data-uid="C1.C1Preview.PageLayout.Document">
          <a class="xref" href="C1.C1Preview.PageLayout.Document.html#C1_C1Preview_PageLayout_Document">Document</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a> containing the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_PageLayout_HasColumns" data-uid="C1.C1Preview.PageLayout.HasColumns">
          <a class="xref" href="C1.C1Preview.PageLayout.HasColumns.html#C1_C1Preview_PageLayout_HasColumns">HasColumns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the <a class="xref" href="C1.C1Preview.PageLayout.Columns.html#C1_C1Preview_PageLayout_Columns">Columns</a> collection
on the current page layout has been initialized and is not empty.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_PageLayout_Kind" data-uid="C1.C1Preview.PageLayout.Kind">
          <a class="xref" href="C1.C1Preview.PageLayout.Kind.html#C1_C1Preview_PageLayout_Kind">Kind</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.PageLayoutKindEnum.html">PageLayoutKindEnum</a> associated with the current <a class="xref" href="C1.C1Preview.PageLayout.html">PageLayout</a>
in the document.
If <a class="xref" href="C1.C1Preview.PageLayout.Document.html#C1_C1Preview_PageLayout_Document">Document</a> is <b>null</b>, <a class="xref" href="C1.C1Preview.PageLayoutKindEnum.html#C1_C1Preview_PageLayoutKindEnum_None">None</a> is returned.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_PageLayout_Overlay" data-uid="C1.C1Preview.PageLayout.Overlay">
          <a class="xref" href="C1.C1Preview.PageLayout.Overlay.html#C1_C1Preview_PageLayout_Overlay">Overlay</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the overlay associated with the current page layout.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_PageLayout_PageFooter" data-uid="C1.C1Preview.PageLayout.PageFooter">
          <a class="xref" href="C1.C1Preview.PageLayout.PageFooter.html#C1_C1Preview_PageLayout_PageFooter">PageFooter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the page footer associated with the current page layout.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_PageLayout_PageHeader" data-uid="C1.C1Preview.PageLayout.PageHeader">
          <a class="xref" href="C1.C1Preview.PageLayout.PageHeader.html#C1_C1Preview_PageLayout_PageHeader">PageHeader</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the page header associated with the current page layout.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_PageLayout_PageSettings" data-uid="C1.C1Preview.PageLayout.PageSettings">
          <a class="xref" href="C1.C1Preview.PageLayout.PageSettings.html#C1_C1Preview_PageLayout_PageSettings">PageSettings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.C1Preview.C1PageSettings.html">C1PageSettings</a> object associated with the current page layout.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_PageLayout_Watermark" data-uid="C1.C1Preview.PageLayout.Watermark">
          <a class="xref" href="C1.C1Preview.PageLayout.Watermark.html#C1_C1Preview_PageLayout_Watermark">Watermark</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the watermark associated with the current page layout.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_PageLayout_AssignFrom_C1_C1Preview_PageLayout_" data-uid="C1.C1Preview.PageLayout.AssignFrom(C1.C1Preview.PageLayout)">
          <a class="xref" href="C1.C1Preview.PageLayout.AssignFrom.html#C1_C1Preview_PageLayout_AssignFrom_C1_C1Preview_PageLayout_">AssignFrom(PageLayout)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.PageLayout.html">PageLayout</a> to the current object.
All nested objects (render objects, page settings etc.) are cloned.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_PageLayout_Clear" data-uid="C1.C1Preview.PageLayout.Clear">
          <a class="xref" href="C1.C1Preview.PageLayout.Clear.html#C1_C1Preview_PageLayout_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears the current <a class="xref" href="C1.C1Preview.PageLayout.html">PageLayout</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_PageLayout_Clone" data-uid="C1.C1Preview.PageLayout.Clone">
          <a class="xref" href="C1.C1Preview.PageLayout.Clone.html#C1_C1Preview_PageLayout_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a copy of the current <a class="xref" href="C1.C1Preview.PageLayout.html">PageLayout</a> object.
All nested objects (render objects, page settings etc.) are cloned on the new object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_PageLayout_ShouldSerializeColumns" data-uid="C1.C1Preview.PageLayout.ShouldSerializeColumns">
          <a class="xref" href="C1.C1Preview.PageLayout.ShouldSerializeColumns.html#C1_C1Preview_PageLayout_ShouldSerializeColumns">ShouldSerializeColumns()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.C1Preview.PageLayout.Columns.html#C1_C1Preview_PageLayout_Columns">Columns</a> property should be serialized.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
