# GrapeCity.Documents.Word.Spacing

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Spacing" data-uid="GrapeCity.Documents.Word.Spacing" class="text-break">Spacing Class
</h1>
  <div class="markdown level0 summary"><p>Represents the set of spacing properties that can be applied to a paragraph.</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">Spacing</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_Spacing_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Spacing : FormattingBag</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Spacing
    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_Spacing_AddSpaceBetweenFarEastAndAlpha" data-uid="GrapeCity.Documents.Word.Spacing.AddSpaceBetweenFarEastAndAlpha">
          <a class="xref" href="GrapeCity.Documents.Word.Spacing.AddSpaceBetweenFarEastAndAlpha.html#GrapeCity_Documents_Word_Spacing_AddSpaceBetweenFarEastAndAlpha">AddSpaceBetweenFarEastAndAlpha</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether inter-character spacing should be automatically adjusted
between regions of Latin text and East Asian text within the paragraph.
These regions are determined by the Unicode character values of the text content.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Spacing_AddSpaceBetweenFarEastAndDigit" data-uid="GrapeCity.Documents.Word.Spacing.AddSpaceBetweenFarEastAndDigit">
          <a class="xref" href="GrapeCity.Documents.Word.Spacing.AddSpaceBetweenFarEastAndDigit.html#GrapeCity_Documents_Word_Spacing_AddSpaceBetweenFarEastAndDigit">AddSpaceBetweenFarEastAndDigit</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether inter-character spacing should be automatically adjusted
between numeric characters and East Asian text within the paragraph.
These regions are determined by the Unicode character values of the text content.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Spacing_LineSpacing" data-uid="GrapeCity.Documents.Word.Spacing.LineSpacing">
          <a class="xref" href="GrapeCity.Documents.Word.Spacing.LineSpacing.html#GrapeCity_Documents_Word_Spacing_LineSpacing">LineSpacing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the line spacing for the paragraph.
If <a class="xref" href="GrapeCity.Documents.Word.Spacing.LineSpacingRule.html#GrapeCity_Documents_Word_Spacing_LineSpacingRule">LineSpacingRule</a> is set to <a class="xref" href="GrapeCity.Documents.Word.LineSpacingRule.html#GrapeCity_Documents_Word_LineSpacingRule_Auto">Auto</a>, the value is interpreted in lines;
otherwise, it is interpreted in points.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Spacing_LineSpacingRule" data-uid="GrapeCity.Documents.Word.Spacing.LineSpacingRule">
          <a class="xref" href="GrapeCity.Documents.Word.Spacing.LineSpacingRule.html#GrapeCity_Documents_Word_Spacing_LineSpacingRule">LineSpacingRule</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rule used to calculate line spacing for the paragraph.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Spacing_LineUnitAfter" data-uid="GrapeCity.Documents.Word.Spacing.LineUnitAfter">
          <a class="xref" href="GrapeCity.Documents.Word.Spacing.LineUnitAfter.html#GrapeCity_Documents_Word_Spacing_LineUnitAfter">LineUnitAfter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of spacing, in grid lines, after the paragraph.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Spacing_LineUnitBefore" data-uid="GrapeCity.Documents.Word.Spacing.LineUnitBefore">
          <a class="xref" href="GrapeCity.Documents.Word.Spacing.LineUnitBefore.html#GrapeCity_Documents_Word_Spacing_LineUnitBefore">LineUnitBefore</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of spacing, in grid lines, before the paragraph.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Spacing_NoSpaceBetweenParagraphsOfSameStyle" data-uid="GrapeCity.Documents.Word.Spacing.NoSpaceBetweenParagraphsOfSameStyle">
          <a class="xref" href="GrapeCity.Documents.Word.Spacing.NoSpaceBetweenParagraphsOfSameStyle.html#GrapeCity_Documents_Word_Spacing_NoSpaceBetweenParagraphsOfSameStyle">NoSpaceBetweenParagraphsOfSameStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether <a class="xref" href="GrapeCity.Documents.Word.Spacing.SpaceBefore.html#GrapeCity_Documents_Word_Spacing_SpaceBefore">SpaceBefore</a> and <a class="xref" href="GrapeCity.Documents.Word.Spacing.SpaceAfter.html#GrapeCity_Documents_Word_Spacing_SpaceAfter">SpaceAfter</a>
should be ignored between paragraphs of the same style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Spacing_SpaceAfter" data-uid="GrapeCity.Documents.Word.Spacing.SpaceAfter">
          <a class="xref" href="GrapeCity.Documents.Word.Spacing.SpaceAfter.html#GrapeCity_Documents_Word_Spacing_SpaceAfter">SpaceAfter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of spacing, in points, after the paragraph.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Spacing_SpaceAfterAuto" data-uid="GrapeCity.Documents.Word.Spacing.SpaceAfterAuto">
          <a class="xref" href="GrapeCity.Documents.Word.Spacing.SpaceAfterAuto.html#GrapeCity_Documents_Word_Spacing_SpaceAfterAuto">SpaceAfterAuto</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the spacing after the paragraph is set automatically.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Spacing_SpaceBefore" data-uid="GrapeCity.Documents.Word.Spacing.SpaceBefore">
          <a class="xref" href="GrapeCity.Documents.Word.Spacing.SpaceBefore.html#GrapeCity_Documents_Word_Spacing_SpaceBefore">SpaceBefore</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of spacing, in points, before the paragraph.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Spacing_SpaceBeforeAuto" data-uid="GrapeCity.Documents.Word.Spacing.SpaceBeforeAuto">
          <a class="xref" href="GrapeCity.Documents.Word.Spacing.SpaceBeforeAuto.html#GrapeCity_Documents_Word_Spacing_SpaceBeforeAuto">SpaceBeforeAuto</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the spacing before the paragraph is set automatically.</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_Spacing_ClearFormatting" data-uid="GrapeCity.Documents.Word.Spacing.ClearFormatting">
          <a class="xref" href="GrapeCity.Documents.Word.Spacing.ClearFormatting.html#GrapeCity_Documents_Word_Spacing_ClearFormatting">ClearFormatting()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the spacing formatting to default values.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
