Paragraph constructor

Paragraph(doc)

Initializes a new instance of the Paragraph class.

Paragraph(doc: Aspose.Words.DocumentBase)
ParameterTypeDescription
docDocumentBaseThe owner document.

Remarks

When Paragraph is created, it belongs to the specified document, but is not yet part of the document and Node.parentNode is null.

To append Paragraph to the document use CompositeNode.insertAfter() or CompositeNode.insertBefore() on the story where you want the paragraph inserted.

See Also