CommentRangeEnd constructor
CommentRangeEnd(doc, id)
Initializes a new instance of this class.
def __init__(self, doc: aspose.words.DocumentBase, id: int):
...
Parameter | Type | Description |
---|---|---|
doc | DocumentBase | The owner document. |
id | int | The 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
- module aspose.words
- class CommentRangeEnd