Skip to main content

IParagraph interface

Namespace: NextDesign.Desktop.DocumentGenerator.Word

Description

Control paragraph formatting.

Affiliation area

NameDescription
Document GenerationAPIs to access document generation.

Property

NameDescription
AlignmentGets or sets the paragraph text alignment.
CharacterUnitFirstLineIndentGets or sets the first line or hanging indent value in characters.

Use positive values to set the first line indent and negative values to set the hanging indent.
CharacterUnitLeftIndentGets or sets the paragraph left indent (number of characters).
FirstLineIndentGets or sets the first line or hanging indent value in points.

Use positive values to set the first line indent and negative values to set the hanging indent.
HangingPunctuationGets or sets whether punctuation is enabled in the current paragraph.
IsHeadingGets whether the paragraph style is one of the built-in heading styles.
IsListItemGets whether the paragraph is a bulleted or numbered list item.
KeepTogetherGets or sets whether to keep all lines within a paragraph on the same page.
KeepWithNextGets or sets whether the paragraph should remain on the same page as subsequent paragraphs.
LeftIndentGets or sets the paragraph left indent in points.
LineSpacingGets or sets the paragraph line spacing in points.
LineUnitAfterGets or sets the amount of spacing (grid lines) after a paragraph.
LineUnitBeforeGets or sets the amount of spacing (grid lines) before a paragraph.
NoSpaceBetweenParagraphsOfSameStyleGets or sets whether SpaceBefore and SpaceAfter should be ignored between paragraphs of the same style.
OutlineLevelGets or sets the outline level of paragraphs in the document.
PageBreakBeforeGets or sets whether a page break occurs before a paragraph.
RightIndentGets or sets the paragraph right indent in points.
SpaceAfterGets or sets the amount of space after a paragraph, in points.
SpaceAfterAutoGets or sets whether the amount of space after a paragraph is automatically set.
SpaceBeforeGets or sets the amount of space before a paragraph, in points.
StyleNameGets or sets the name of the paragraph style.
SuppressLineNumbersGets or sets whether lines in the current paragraph should be excluded from line numbers applied in the parent section .
WordWrapGets or sets whether Latin text is word-wrapped.
If set to false, allows mid-word latin text to wrap at the current paragraph.

Method

NameDescription
ClearFormattingResets to default paragraph formatting.
RestoreAlignmentRestores paragraph text alignment.
SetBodyStyleByOutlineLevelSets body style according to outline level.
SetHeadingStyleByOutlineLevelSets heading style according to outline level.