Skip to end of metadata
Go to start of metadata

Description

Creates and returns a Paragraph object that represents a new empty paragraph at the beginning of this Element. The paragraph that is inserted will have the style specified, to which any additional specified paragraph formatting is applied as well. If this Element is in the middle of a paragraph, the containing paragraph will be split.

C#
vb.net

Parameters

style
A NamedStyle object representing the base style of this paragraph. The base style also affects the character style of any text added to this paragraph. If this is null, the style will be "Normal".
props
A ParagraphFormatting that represents formatting properties that should override the paragraph properties found in the style.

Returns

A Paragraph object that represents a new empty paragraph at the beginning of this Element. Even though the paragraph is empty there will always be at least a single carriage return.

Examples

C#
vb.net
  • No labels