CommentRangeStart constructor

CommentRangeStart(doc, id)

Initializes a new instance of this class.

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

Remarks

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

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

See Also