CommentRangeEnd constructor

CommentRangeEnd(doc, id)

Initializes a new instance of this class.

CommentRangeEnd(doc: Aspose.Words.DocumentBase, id: number)
ParameterTypeDescription
docDocumentBaseThe owner document.
idnumberThe comment identifier to which this object is linked.

Remarks

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

To append a CommentRangeEnd to the document use InsertAfter or InsertBefore on the paragraph where you want the comment inserted.

See Also