# GrapeCity.Documents.Word.Layout.LayoutElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Layout_LayoutElement" data-uid="GrapeCity.Documents.Word.Layout.LayoutElement" class="text-break">LayoutElement Class
</h1>
  <div class="markdown level0 summary"><p>Base class for the hierarchy of layout elements.</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">LayoutElement</span></div>
      <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.Layout.BlockElement.html">BlockElement</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.Layout.CellContent.html">CellContent</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.Layout.ObjectFragment.html">ObjectFragment</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.Layout.PageColumn.html">PageColumn</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.Layout.PageSection.html">PageSection</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.Layout.TableCell.html">TableCell</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.Layout.TableColumn.html">TableColumn</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.Layout.TableGridColumn.html">TableGridColumn</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.Layout.TableGridRow.html">TableGridRow</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.Layout.TableRow.html">TableRow</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.Layout.html">GrapeCity.Documents.Word.Layout</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_Layout_LayoutElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class LayoutElement</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class LayoutElement</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_Layout_LayoutElement_Page" data-uid="GrapeCity.Documents.Word.Layout.LayoutElement.Page">
          <a class="xref" href="GrapeCity.Documents.Word.Layout.LayoutElement.Page.html#GrapeCity_Documents_Word_Layout_LayoutElement_Page">Page</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the owner Page object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Layout_LayoutElement_Rect" data-uid="GrapeCity.Documents.Word.Layout.LayoutElement.Rect">
          <a class="xref" href="GrapeCity.Documents.Word.Layout.LayoutElement.Rect.html#GrapeCity_Documents_Word_Layout_LayoutElement_Rect">Rect</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the element's rectangle.</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_Layout_LayoutElement_ShowDebugRect_System_Drawing_Color_System_Boolean_" data-uid="GrapeCity.Documents.Word.Layout.LayoutElement.ShowDebugRect(System.Drawing.Color,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Word.Layout.LayoutElement.ShowDebugRect.html#GrapeCity_Documents_Word_Layout_LayoutElement_ShowDebugRect_System_Drawing_Color_System_Boolean_">ShowDebugRect(Color, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Shows a color rectangle for the current <a class="xref" href="GrapeCity.Documents.Word.Layout.LayoutElement.html">LayoutElement</a> (for debugging purposes).</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
