Section constructor

Section(doc)

Initializes a new instance of the Section class.

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

Remarks

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

To include Section into a document use CompositeNode.insertAfter() and CompositeNode.insertBefore() methods of the Document OR NodeCollection.add() and NodeCollection.insert() methods of the Document.sections property.

See Also