Skip to main content

Paragraph Members

A document paragraph.

Properties

Name Description
Alignment Gets or sets the paragraph’s text alignment.
BackColor Gets or sets the background color of the paragraph.
ContextualSpacing Gets or sets whether to suppress addition of additional space (contextual spacing) between paragraphs of the same style.
FirstLineIndent Gets or sets a value specifying the indent for the first line in a paragraph.
FirstLineIndentType Gets or sets a value specifying whether and how the first line in a paragraph is indented.
Index Gets the index number of a paragraph in a document.
IsInList Indicates whether the current paragraph is in a bulleted or a numbered list.
KeepLinesTogether Gets or sets whether to prevent all page breaks that interrupt a paragraph.
KeepWithNext Gets or sets whether to put a break between the current paragraph and the next paragraph.
LeftIndent Gets or sets the left indent for the specified paragraph.
LineSpacing Gets or sets a line spacing value.
LineSpacingMultiplier Gets or sets the multiplier which is used to calculate the line spacing value.
LineSpacingType Gets or sets the type of spacing between lines in a paragraph.
ListIndex Gets or sets the index of a list applied to the paragraph.
ListLevel Gets or sets the list level applied to the current paragraph in the numbering list.
OutlineLevel Gets or sets the outline level of a paragraph.
PageBreakBefore Gets or sets whether to insert a page break before specified paragraph.
Range Gets the document range occupied by the current paragraph.
RightIndent Gets or sets the right indent for the specified paragraph.
RightToLeft Gets or sets whether to change the paragraph’s text direction to right-to-left.
SpacingAfter Gets or sets the spacing after the current paragraph.
SpacingBefore Gets or sets the spacing before the current paragraph.
Style Gets or sets the paragraph style applied to the current paragraph.
SuppressHyphenation Gets or sets a value indicating whether a paragraph can be hyphenated.
SuppressLineNumbers Gets or sets whether line numbers are displayed for the current paragraph.
WidowOrphanControl Gets or sets whether to apply control over the widow and orphan lines.

Methods

Name Description
BeginUpdateTabs(Boolean) Starts modifying tab stops in a paragraph.
EndUpdateTabs(TabInfoCollection) Finalizes modifications of tab stops for the paragraph.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current Paragraph instance.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current Paragraph object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Resets the paragraph formatting to its base style.
ToString() Returns a string that represents the current object. Inherited from Object.

Operators

Name Description
Equality(Paragraph, Paragraph) static Compares two Paragraph objects for equality.
Inequality(Paragraph, Paragraph) static Compares two Paragraph objects to determine whether they are not equal.
See Also