# GrapeCity.Documents.Word.ParagraphFormat

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_ParagraphFormat" data-uid="GrapeCity.Documents.Word.ParagraphFormat" class="text-break">ParagraphFormat Class
</h1>
  <div class="markdown level0 summary"><p>Represents all formatting for 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">ParagraphFormat</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_ParagraphFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ParagraphFormat : FormattingBag</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ParagraphFormat
    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_ParagraphFormat_Alignment" data-uid="GrapeCity.Documents.Word.ParagraphFormat.Alignment">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.Alignment.html#GrapeCity_Documents_Word_ParagraphFormat_Alignment">Alignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal text alignment for the paragraph.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_BaseLineAlignment" data-uid="GrapeCity.Documents.Word.ParagraphFormat.BaseLineAlignment">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.BaseLineAlignment.html#GrapeCity_Documents_Word_ParagraphFormat_BaseLineAlignment">BaseLineAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical alignment of text within each line of the paragraph.
If the line height (before any added spacing) exceeds the height of one or more characters,
all characters on the line are aligned according to this setting.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_Bidi" data-uid="GrapeCity.Documents.Word.ParagraphFormat.Bidi">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.Bidi.html#GrapeCity_Documents_Word_ParagraphFormat_Bidi">Bidi</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the paragraph has right-to-left text direction.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_Borders" data-uid="GrapeCity.Documents.Word.ParagraphFormat.Borders">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.Borders.html#GrapeCity_Documents_Word_ParagraphFormat_Borders">Borders</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of borders applied to the paragraph.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_DisableLineHeightGrid" data-uid="GrapeCity.Documents.Word.ParagraphFormat.DisableLineHeightGrid">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.DisableLineHeightGrid.html#GrapeCity_Documents_Word_ParagraphFormat_DisableLineHeightGrid">DisableLineHeightGrid</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the current paragraph should use the document grid lines per page settings defined in the document when laying out the contents in the paragraph.
This setting determines whether the additional line pitch specified in the document grid shall be added to each line in this paragraph as specified by the document grid.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_FarEastLineBreakControl" data-uid="GrapeCity.Documents.Word.ParagraphFormat.FarEastLineBreakControl">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.FarEastLineBreakControl.html#GrapeCity_Documents_Word_ParagraphFormat_FarEastLineBreakControl">FarEastLineBreakControl</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether East Asian typography and line-breaking rules
are applied to determine which characters may begin or end lines in the paragraph.
This setting applies only to Simplified Chinese, Traditional Chinese, and Japanese text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_HalfWidthPunctuationOnTopOfLine" data-uid="GrapeCity.Documents.Word.ParagraphFormat.HalfWidthPunctuationOnTopOfLine">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.HalfWidthPunctuationOnTopOfLine.html#GrapeCity_Documents_Word_ParagraphFormat_HalfWidthPunctuationOnTopOfLine">HalfWidthPunctuationOnTopOfLine</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether punctuation symbols at the beginning of a line
should be converted to half-width characters in the paragraph.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_HangingPunctuation" data-uid="GrapeCity.Documents.Word.ParagraphFormat.HangingPunctuation">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.HangingPunctuation.html#GrapeCity_Documents_Word_ParagraphFormat_HangingPunctuation">HangingPunctuation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether text in the paragraph is allowed to extend
one character beyond the indent or margin when the overflowing character is punctuation.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_Hyphenation" data-uid="GrapeCity.Documents.Word.ParagraphFormat.Hyphenation">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.Hyphenation.html#GrapeCity_Documents_Word_ParagraphFormat_Hyphenation">Hyphenation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the paragraph should be excluded from automatic hyphenation
defined in the document settings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_Indentation" data-uid="GrapeCity.Documents.Word.ParagraphFormat.Indentation">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.Indentation.html#GrapeCity_Documents_Word_ParagraphFormat_Indentation">Indentation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the indentation settings applied to the paragraph.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_KeepTogether" data-uid="GrapeCity.Documents.Word.ParagraphFormat.KeepTogether">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.KeepTogether.html#GrapeCity_Documents_Word_ParagraphFormat_KeepTogether">KeepTogether</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether all lines in the paragraph must stay on the same page.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_KeepWithNext" data-uid="GrapeCity.Documents.Word.ParagraphFormat.KeepWithNext">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.KeepWithNext.html#GrapeCity_Documents_Word_ParagraphFormat_KeepWithNext">KeepWithNext</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the paragraph should stay on the same page
as the paragraph that follows it.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_NoLineNumber" data-uid="GrapeCity.Documents.Word.ParagraphFormat.NoLineNumber">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.NoLineNumber.html#GrapeCity_Documents_Word_ParagraphFormat_NoLineNumber">NoLineNumber</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the lines in this paragraph should be excluded
from line numbering applied by the parent section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_OutlineLevel" data-uid="GrapeCity.Documents.Word.ParagraphFormat.OutlineLevel">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.OutlineLevel.html#GrapeCity_Documents_Word_ParagraphFormat_OutlineLevel">OutlineLevel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the outline level of the paragraph in the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_PageBreakBefore" data-uid="GrapeCity.Documents.Word.ParagraphFormat.PageBreakBefore">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.PageBreakBefore.html#GrapeCity_Documents_Word_ParagraphFormat_PageBreakBefore">PageBreakBefore</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether a page break is forced before the paragraph.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_Shading" data-uid="GrapeCity.Documents.Word.ParagraphFormat.Shading">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.Shading.html#GrapeCity_Documents_Word_ParagraphFormat_Shading">Shading</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Word.Shading.html">Shading</a> formatting applied to the paragraph.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_Spacing" data-uid="GrapeCity.Documents.Word.ParagraphFormat.Spacing">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.Spacing.html#GrapeCity_Documents_Word_ParagraphFormat_Spacing">Spacing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the spacing settings applied to the paragraph.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_SuppressAutoHyphens" data-uid="GrapeCity.Documents.Word.ParagraphFormat.SuppressAutoHyphens">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.SuppressAutoHyphens.html#GrapeCity_Documents_Word_ParagraphFormat_SuppressAutoHyphens">SuppressAutoHyphens</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the paragraph should be excluded from automatic hyphenation
defined in the document settings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_TabStops" data-uid="GrapeCity.Documents.Word.ParagraphFormat.TabStops">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.TabStops.html#GrapeCity_Documents_Word_ParagraphFormat_TabStops">TabStops</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of custom tab stops defined for the paragraph.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_TextFlowDirection" data-uid="GrapeCity.Documents.Word.ParagraphFormat.TextFlowDirection">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.TextFlowDirection.html#GrapeCity_Documents_Word_ParagraphFormat_TextFlowDirection">TextFlowDirection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the reading order of the paragraph without modifying its alignment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_TextboxTightWrap" data-uid="GrapeCity.Documents.Word.ParagraphFormat.TextboxTightWrap">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.TextboxTightWrap.html#GrapeCity_Documents_Word_ParagraphFormat_TextboxTightWrap">TextboxTightWrap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how text wrapping behaves around a text box containing the paragraph.
Specifies whether surrounding text is allowed to overlap the text box boundaries
and wrap tightly to the actual text content inside the box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_WidowControl" data-uid="GrapeCity.Documents.Word.ParagraphFormat.WidowControl">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.WidowControl.html#GrapeCity_Documents_Word_ParagraphFormat_WidowControl">WidowControl</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the first and last lines of the paragraph
must remain on the same page as the rest of the paragraph (widow/orphan control).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ParagraphFormat_WordWrap" data-uid="GrapeCity.Documents.Word.ParagraphFormat.WordWrap">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.WordWrap.html#GrapeCity_Documents_Word_ParagraphFormat_WordWrap">WordWrap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether Latin text can wrap in the middle of a word
within the paragraph.</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_ParagraphFormat_ClearFormatting" data-uid="GrapeCity.Documents.Word.ParagraphFormat.ClearFormatting">
          <a class="xref" href="GrapeCity.Documents.Word.ParagraphFormat.ClearFormatting.html#GrapeCity_Documents_Word_ParagraphFormat_ClearFormatting">ClearFormatting()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the paragraph formatting to default values.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
