Description
Represents a paragraph in the Word document. Technically, a paragraph is a block of text that ends with a carriage return.
C#
vb.net
Remarks
To create a new paragraph, use Element.InsertParagraphBefore() or Element.InsertParagraphAfter(). Each of these methods take a single argument of type NamedStyle. This argument can be null. If it is null, the Normal style is used. This method can be called from the Document object becauseDocument
inherits from the Element class.
Examples
C#
vb.net
Properties
Name |
Description |
---|---|
Sets or returns a ParagraphFormatting object that represents the formatting for this paragraph (positioning, line spacing, etc). | |
Returns or sets an NamedStyle object that represents the Style of this paragraph. |