CommentRangeStart constructor

CommentRangeStart(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 CommentRangeStart 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 CommentRangeStart to the document use InsertAfter or InsertBefore on the paragraph where you want the comment inserted.

See Also