# GrapeCity.Documents.Word.PageMargin

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_PageMargin" data-uid="GrapeCity.Documents.Word.PageMargin" class="text-break">PageMargin Class
</h1>
  <div class="markdown level0 summary"><p>Represents the page margins for all pages in a section.</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">PageMargin</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_PageMargin_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PageMargin</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PageMargin</code></pre>
  </div>
  <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="GrapeCity_Documents_Word_PageMargin_Bottom" data-uid="GrapeCity.Documents.Word.PageMargin.Bottom">
          <a class="xref" href="GrapeCity.Documents.Word.PageMargin.Bottom.html#GrapeCity_Documents_Word_PageMargin_Bottom">Bottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance (in points) between the bottom edge of the page and the bottom boundary of the body text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_PageMargin_Footer" data-uid="GrapeCity.Documents.Word.PageMargin.Footer">
          <a class="xref" href="GrapeCity.Documents.Word.PageMargin.Footer.html#GrapeCity_Documents_Word_PageMargin_Footer">Footer</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance (in points) between the footer and the bottom of the page.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_PageMargin_Gutter" data-uid="GrapeCity.Documents.Word.PageMargin.Gutter">
          <a class="xref" href="GrapeCity.Documents.Word.PageMargin.Gutter.html#GrapeCity_Documents_Word_PageMargin_Gutter">Gutter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of extra space (in points) added to the margin for document binding.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_PageMargin_GutterPosition" data-uid="GrapeCity.Documents.Word.PageMargin.GutterPosition">
          <a class="xref" href="GrapeCity.Documents.Word.PageMargin.GutterPosition.html#GrapeCity_Documents_Word_PageMargin_GutterPosition">GutterPosition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the side on which the gutter appears in a document.</p>
<p>
Changing value to or from <a class="xref" href="GrapeCity.Documents.Word.GutterPosition.html#GrapeCity_Documents_Word_GutterPosition_Top">Top</a> affects all document sections.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_PageMargin_Header" data-uid="GrapeCity.Documents.Word.PageMargin.Header">
          <a class="xref" href="GrapeCity.Documents.Word.PageMargin.Header.html#GrapeCity_Documents_Word_PageMargin_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance (in points) between the header and the top of the page.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_PageMargin_Left" data-uid="GrapeCity.Documents.Word.PageMargin.Left">
          <a class="xref" href="GrapeCity.Documents.Word.PageMargin.Left.html#GrapeCity_Documents_Word_PageMargin_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance (in points) between the left edge of the page and the left boundary of the body text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_PageMargin_Right" data-uid="GrapeCity.Documents.Word.PageMargin.Right">
          <a class="xref" href="GrapeCity.Documents.Word.PageMargin.Right.html#GrapeCity_Documents_Word_PageMargin_Right">Right</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance (in points) between the right edge of the page and the right boundary of the body text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_PageMargin_Top" data-uid="GrapeCity.Documents.Word.PageMargin.Top">
          <a class="xref" href="GrapeCity.Documents.Word.PageMargin.Top.html#GrapeCity_Documents_Word_PageMargin_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance (in points) between the top edge of the page and the top boundary of the body text.</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="GrapeCity_Documents_Word_PageMargin_ClearFormatting" data-uid="GrapeCity.Documents.Word.PageMargin.ClearFormatting">
          <a class="xref" href="GrapeCity.Documents.Word.PageMargin.ClearFormatting.html#GrapeCity_Documents_Word_PageMargin_ClearFormatting">ClearFormatting()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets page margins to default values.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
