VegaRise.NET
HomeAPI Reference
Back to ElementsContainer

AddParagraphMethod

Definition

Namespace
DOM.Elements
Assembly
DOM.dll

Overloads

AddParagraph(IParagraph paragraph)

Adds the specified paragraph to this container. If is null, a new empty instance is created, added and returned. paragraph Paragraph

AddParagraph(string text)

Adds a new containing as a single run. Paragraph text

AddParagraph(IText[] runs)

Adds a new containing the given runs, in order. Paragraph

AddParagraph(IParagraph paragraph)

AddParagraph(IParagraph paragraph)

Adds the specified paragraph to this container. If is null, a new empty instance is created, added and returned. paragraph Paragraph

Parameters

paragraph
Optional paragraph instance to add. If null a new paragraph is created.

Returns

The paragraph instance that was added to the container.

AddParagraph(string text)

AddParagraph(string text)

Adds a new containing as a single run. Paragraph text

Parameters

text
The text of the paragraph.

Returns

The created paragraph.

AddParagraph(IText[] runs)

AddParagraph(IText[] runs)

Adds a new containing the given runs, in order. Paragraph

Parameters

runs
The text runs that make up the paragraph.

Returns

The created paragraph.