Page tree
Skip to end of metadata
Go to start of metadata

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 because Document inherits from the Element class.

Examples

C#
vb.net

Properties

Name

Description

Formatting

Sets or returns a ParagraphFormatting object that represents the formatting for this paragraph (positioning, line spacing, etc).

Style

Returns or sets an NamedStyle object that represents the Style of this paragraph.
  • No labels