# GrapeCity.Documents.Word.CellPadding

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_CellPadding" data-uid="GrapeCity.Documents.Word.CellPadding" class="text-break">CellPadding Class
</h1>
  <div class="markdown level0 summary"><p>Represents a set of table cell paddings.</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"><a class="xref" href="GrapeCity.Documents.Word.FormattingBag.html">FormattingBag</a></div>
    <div class="level2"><span class="xref">CellPadding</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_CellPadding_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CellPadding : FormattingBag</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CellPadding
    Inherits FormattingBag</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_CellPadding_All" data-uid="GrapeCity.Documents.Word.CellPadding.All">
          <a class="xref" href="GrapeCity.Documents.Word.CellPadding.All.html#GrapeCity_Documents_Word_CellPadding_All">All</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of space (in points) to add on all sides
around the contents of a single cell or all cells in a table.
This property returns null unless the paddings on all sides are the same.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_CellPadding_Bottom" data-uid="GrapeCity.Documents.Word.CellPadding.Bottom">
          <a class="xref" href="GrapeCity.Documents.Word.CellPadding.Bottom.html#GrapeCity_Documents_Word_CellPadding_Bottom">Bottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of space (in points) to add below the contents of a single cell or all cells in a table.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_CellPadding_Left" data-uid="GrapeCity.Documents.Word.CellPadding.Left">
          <a class="xref" href="GrapeCity.Documents.Word.CellPadding.Left.html#GrapeCity_Documents_Word_CellPadding_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of space (in points) to add to the left of the contents of a single cell or all cells in a table.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_CellPadding_Right" data-uid="GrapeCity.Documents.Word.CellPadding.Right">
          <a class="xref" href="GrapeCity.Documents.Word.CellPadding.Right.html#GrapeCity_Documents_Word_CellPadding_Right">Right</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of space (in points) to add to the right of the contents of a single cell or all cells in a table.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_CellPadding_Top" data-uid="GrapeCity.Documents.Word.CellPadding.Top">
          <a class="xref" href="GrapeCity.Documents.Word.CellPadding.Top.html#GrapeCity_Documents_Word_CellPadding_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of space (in points) to add above the contents of a single cell or all cells in a table.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
