> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Paragraph

> Adjust Paragraph element properties in the FlexiLayout language: line counts, interline spacing, alignment, indents, and line width constraints.

<table width="100%"><tbody><tr><td><p><strong>Parameter</strong></p></td><td><p><strong>Description</strong></p></td></tr><tr><td><p>Void MaxGapInLine( Distance )</p></td><td><p>Sets the maximum distance between neighboring characters.</p></td></tr><tr><td><p>Void MaxXOutsidePart( Real )</p></td><td><p>Specifies the part of the character that may extend beyond the search area horizontally. The part of the character is specified by a number from 0 to 1. Those characters are included in the hypothesis that have the specified or smaller part outside the search area.</p></td></tr><tr><td><p>Void MaxYOutsidePart( Real )</p></td><td><p>Specifies the part of the character that may extend beyond the search area vertically. The part of the character is specified by a number from 0 to 1. Those characters are included in the hypothesis that have the specified or smaller part outside the search area.</p></td></tr><tr><td><p>Void MaxInterlineSpace( Distance )</p></td><td><p>The maximum distance between the lines.</p></td></tr><tr><td><p>Void MaxRelativeInterlineSpace( Real )</p></td><td><p>The maximum distance between the neighboring lines expressed as a percentage of the height of the top line.</p></td></tr><tr><td><p>Void MaxLineHeightSpread( Real )</p></td><td><p>The maximum variation in the height of the lines; calculated as the difference in height between the tallest line and the smallest line divided by the height of the tallest line.</p></td></tr><tr><td><p>Void MaxLineLengthSpread( Real )</p></td><td><p>The maximum variation in the length of the lines; calculated as the difference in length between the longest line and the shortest line divided by the length of the longest line.</p></td></tr><tr><td><p>Void MinHorLineOverlap( Real )</p></td><td><p>The minimum horizontal overlap of the neighboring lines; calculated as the length of the common segment of the lines divided by the length of the shortest line.</p></td></tr><tr><td><p>Void IgnoreSeparators( Logic )</p></td><td><p>This flag specifies whether to ignore separators during assembly of the paragraph. If the value is set to <strong>True</strong>, paragraphs that contain separators are not split.</p></td></tr><tr><td><p>Void MinLineWidth( Distance )</p></td><td><p>The minimum width of the line. Applies during concatenation of lines in a paragraph. Lines that do not satisfy the condition are excluded.</p></td></tr><tr><td><p>Void MaxLineWidth( Distance )</p></td><td><p>The maximum width of the line. Applies during concatenation of lines in a paragraph. Lines that do not satisfy the condition are excluded.</p></td></tr><tr><td><p>Void MinLinesCount( Int )</p></td><td><p>The minimum number of lines in the paragraph.</p></td></tr><tr><td><p>Void MaxLinesCount( Int )</p></td><td><p>The maximum number of lines in the paragraph. Applies during paragraph assembly. If the number of lines reaches the specified value, no more lines are added to the paragraph.</p></td></tr><tr><td><p>Void Alignment ( TextAlignment )</p></td><td><p>Sets the alignment type. Applies during the check after the paragraph assembly. Paragraphs with incorrect alignment are excluded. Admissible values:</p><ul><li>Alignment\_None - alignment is not checked</li><li>Alignment\_Left - left alignment</li><li>Alignment\_Right - right alignment</li><li>Alignment\_Justified - justified</li><li>Alignment\_Center - center alignment</li></ul></td></tr><tr><td><p>Void MaxAlignmentError( Distance )</p></td><td><p>The admissible error of alignment. Is calculated as the difference between the maximum and minimum coordinates of the corresponding line edge (the edge is defined by the alignment type).</p></td></tr><tr><td><p>Void AllowFirstLineIndent( Logic )</p></td><td><p>Specifies whether the first line indent is allowed. When set to <strong>True</strong>, the first line can be indented for the Alignment\_Left, Alignment\_Right and Alignment\_Justified alignment types. For the Alignment\_Left and Alignment\_Justified types, the left indent is allowed. For Alignment\_Right, the right indent is allowed.</p></td></tr><tr><td><p>Void MaxFirstLineIndent( Distance )</p></td><td><p>The maximum allowed indent of the first line. If a negative value is specified, a hanging indent is allowed.</p></td></tr><tr><td><p>Void AllowLastHangingLine( Logic )</p></td><td><p>This flag specifies whether the paragraph can end with a shorter line. When set to <strong>True</strong>, the minimum length of last line of the paragraph is not restricted.</p></td></tr><tr><td><p>Void LinesCount( IntFuzzyInterval )</p></td><td><p>The number of lines in the paragraph.</p></td></tr><tr><td><p>Void FragmentWidth( IntFuzzyInterval )</p></td><td><p>The width of the paragraph in characters.</p></td></tr><tr><td><p>Void MaxLineHeight( Distance )</p></td><td><p>The maximum height of the characters (font size).</p></td></tr><tr><td><p>Void MinLineHeight( Distance )</p></td><td><p>The minimum height of the characters (font size).</p></td></tr><tr><td><p>Void MaxRelativeGapInLine( Real )</p></td><td><p>The maximum distance between neighboring characters expressed as a percentage of the line height.</p></td></tr><tr><td><p>Void AllowChoppedWords( Logic )</p></td><td><p>This flag specifies whether text objects which do not fit entirely within the left and right boundaries should be included into the hypothesis.</p><details><summary>E.g.</summary><p>The code below tell the program that it may look for the element among the text objects that only partially fit within the search area.</p><p>AllowChoppedWords (True);</p></details></td></tr><tr><td><p>Void MinQuality( Real )</p></td><td><p>Sets the minimum quality of the hypothesis.</p></td></tr><tr><td><p>Void FilterStamp( Logic )</p></td><td><p>See <a href="/flexi-capture/fls/template/text-chain">Paragraph properties. Paragraph tab. Remove stamp</a>.</p></td></tr><tr><td><p>Void AllowedTextRotations ( TextRotations )</p></td><td><p>Specifies a set of orientations of the recognized text in which an element search is allowed.</p></td></tr></tbody></table>
