Word .NET Class Library
Show/Hide TOC

# Paragraph Class

Represents a paragraph of content in a document.

## Definition

Namespace: Independentsoft.Office.Word
Assembly: Independentsoft.Office.Word (in Independentsoft.Office.Word.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class Paragraph : IBlockContent, IBlockElement,
    	IContentElement

VB

    Public Class Paragraph
    	Implements IBlockContent, IBlockElement, IContentElement

Inheritance
  Object Paragraph

Implements
  IContentElement, IBlockContent, IBlockElement

## Constructors

Paragraph | Initializes a new instance of the Paragraph class.

## Properties

AdjustRightIndent |
AdjustSpaceEastAsianAndNumbers |
AdjustSpaceLatinAndEastAsian |
AllowPunctuation |
BarBorder |
BetweenBorder |
BottomBorder |
ConditionalFormatting |
Content |
DeletionRevisionID | Specifies a unique identifier used to track the editing session when the paragraph was deleted from the main document.
DivID |
Frame |
GlyphFormattingRevisionID |
HorizontalTextAlignment |
IgnoreSpace |
Indentation |
KeepLines |
KeepNext |
Kinsoku |
LeftBorder |
MirrorIndents |
NumberingReference |
OutlineLevel |
PageBreakBefore |
ParagraphId | Specifies the unique paragraph identifier (w14:paraId).
ParagraphMarkRunProperties |
PropertiesRevisionID |
Revision |
RevisionID | Specifies a unique identifier used to track the editing session when the paragraph's properties were last modified in this document.
RightBorder |
RightToLeft |
RunRevisionID |
Section |
Shading |
SnapToGrid |
Spacing |
StyleName |
SuppressAutoHyphens |
SuppressLineNumbers |
SuppressOverlap |
Tabs |
TextboxTightWrap |
TextDirection |
TextId | Specifies the paragraph text identifier (w14:textId).
TopBorder |
TopLinePunctuation |
VerticalTextAlignment |
WidowControl |
WordWrap |

## Methods

Add(CustomXmlRun) | Adds the CustomXmlRun to the paragraph content.
Add(Hyperlink) | Adds the Hyperlink to the paragraph content.
Add(IParagraphContent) | Adds the IParagraphContent to the paragraph content.
Add(Run) | Adds the Run to the paragraph content.
Add(SimpleField) | Adds the SimpleField to the paragraph content.
Add(SmartTag) | Adds the SmartTag to the paragraph content.
Add(StructuredDocumentTagRun) | Adds the StructuredDocumentTagRun to the paragraph content.
Clone | Creates a new Paragraph that is a deep copy of the Paragraph.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetContentElements |
GetHashCode | (Inherited from Object)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Returns a string that represents the current Paragraph. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Word Namespace