Einhugur Word Component for Buoy |

# Paragraph Class

Class which represents paragraphs in the document.
Paragraphs can be top level or can exist inside TableCell objects.
Paragraphs contain zero too many Runs. The runs actually carry the text parts and the styling for each part.
Note that Paragraph can also represent Page Break.

DocumentItem
Paragraph

class Paragraph

#### Constructors

Paragraph (private) | Private constructor.

#### Properties

Alignment | Alignment for the paragraph.
IsPageBreak | Returns true if the paragraph is page break
LogicalRunCount | Returns the number of logical runs.
ParagraphItemCount | Returns number of ParagraphItems in the Paragraph.
RunCount | Returns number of runs in the Paragraph.
Text | Returns combined text for all Runs in the Paragraph.

#### Methods

AppendHyperlink | Adds hyperlink to the paragraph.
AppendRun | Appends run to the paragraph.
AppendShape | Appends new shape to the paragraph. This function calls AppendShapeRun, creating run, then it fetches the shape within the run.
AppendShapeGroup | Appends shape group to the paragraph, and first shape in the group is also created to make the shape group valid. This function calls AppendShapeGroupRun, creating run, then it fetches the shape within the run.
AppendShapeGroupRun | Appends shape group to the paragraph, and first shape in the group is also created to make the shape group valid. A run is created, and you can get the shape from within the Run. If you do not care about getting handle to the Run then use the AppendShapeGroup function which only returns the shape group.
AppendShapeRun | Appends new shape to the paragraph. This function calls AppendShapeRun, creating run, then it fetches the shape within the run. A run is created, and you can get the shape from within the Run. If you do not care about getting handle to the Run then use the AppendShape function which only returns the shape group.
FirstLineIndent | Gets first-line indent for the paragraph.
FirstLineIndent | Sets first-line indent for the paragraph.
InsertPageBreakAfter (Inherited) | Inserts page break after this document item.
InsertPageBreakBefore (Inherited) | Inserts page break before this document item.
InsertParagraphAfter (Inherited) | Inserts paragraph after this document item.
InsertParagraphBefore (Inherited) | Inserts paragraph before this document item.
InsertSectionBreakAfter (Inherited) | Inserts section break after this document item.
InsertSectionBreakBefore (Inherited) | Inserts section break before this document item.
LeftIndent | Gets the left indent for the paragraph.
LeftIndent | Setst left indent for the paragraph.
RightIndent | Gets the right indent for the paragraph.
RightIndent | Setst right indent for the paragraph.
Run | Fetches Run at given index.
SetListIndent | Sets list indent for the paragraph.

#### Supported Platforms:

- macOS Intel 64 bit
- macOS Apple Silicon
- Windows 64 bit
- Windows ARM 64 bit
- Linux 64 bit
- Linux ARM 64 bit