# C1.C1Preview.C1PrintDocument.NewPage

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1PrintDocument_NewPage_" data-uid="C1.C1Preview.C1PrintDocument.NewPage*">NewPage Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1PrintDocument_NewPage_" data-uid="C1.C1Preview.C1PrintDocument.NewPage*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_NewPage_C1_C1Preview_PageLayout_C1_C1Preview_PageDirectionEnum_" data-uid="C1.C1Preview.C1PrintDocument.NewPage(C1.C1Preview.PageLayout,C1.C1Preview.PageDirectionEnum)">NewPage(PageLayout, PageDirectionEnum)</h4>
<div class="markdown level1 summary"><p>Creates a new page and adds it to the document.
Note that <a class="xref" href="C1.C1Preview.C1PrintDocument.AllowNonReflowableDocs.html#C1_C1Preview_C1PrintDocument_AllowNonReflowableDocs">AllowNonReflowableDocs</a> property on the document must be set to true
for this method to work; otherwise, an exception will occur.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void NewPage(PageLayout pageLayout, PageDirectionEnum direction)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub NewPage(pageLayout As PageLayout, direction As PageDirectionEnum)</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="C1.C1Preview.PageLayout.html">PageLayout</a></td>
      <td><span class="parametername">pageLayout</span></td>
      <td><p>Specifies a layout which will be used for all following pages.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.PageDirectionEnum.html">PageDirectionEnum</a></td>
      <td><span class="parametername">direction</span></td>
      <td><p>Indicates which page must be added - vertical or horizontal.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_C1PrintDocument_NewPage_" data-uid="C1.C1Preview.C1PrintDocument.NewPage*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_NewPage_C1_C1Preview_PageLayout_" data-uid="C1.C1Preview.C1PrintDocument.NewPage(C1.C1Preview.PageLayout)">NewPage(PageLayout)</h4>
<div class="markdown level1 summary"><p>Creates a new page and adds it to the document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void NewPage(PageLayout pageLayout)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub NewPage(pageLayout As PageLayout)</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="C1.C1Preview.PageLayout.html">PageLayout</a></td>
      <td><span class="parametername">pageLayout</span></td>
      <td><p>Specifies a layout which will be used for all following pages.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_C1PrintDocument_NewPage_" data-uid="C1.C1Preview.C1PrintDocument.NewPage*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_NewPage" data-uid="C1.C1Preview.C1PrintDocument.NewPage">NewPage()</h4>
<div class="markdown level1 summary"><p>Creates a new page and adds it to the document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void NewPage()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub NewPage()</code></pre>
</div>
</div>
