Aspose::Words::Comment::get_Id method
Comment::get_Id method
Gets or sets the comment identifier.
int32_t Aspose::Words::Comment::get_Id() const
Remarks
The comment identifier allows to anchor a comment to a region of text in the document. The region must be demarcated using the CommentRangeStart and CommentRangeEnd object sharing the same identifier value as the Comment object.
You would use this value when looking for the CommentRangeStart and CommentRangeEnd nodes that are linked to this comment.
Comment identifiers are supposed to be unique across a document and Aspose.Words automatically maintains comment identifiers when loading, saving and combining documents.
See Also
- Class Comment
- Namespace Aspose::Words
- Library Aspose.Words for C++