CommentRangeEnd constructor

CommentRangeEnd(doc, id)

Initializes a new instance of this class.

def __init__(self, doc: aspose.words.DocumentBase, id: int):
    ...
ParameterTypeDescription
docDocumentBaseThe owner document.
idintThe 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.parent_node is None.

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

See Also