Body constructor

Body(doc)

Initializes a new instance of the Body class.

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

Remarks

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

To append Body to a Section use CompositeNode.appendChild() CompositeNode.insertAfter() or CompositeNode.insertBefore() methods.

See Also