Aspose::Words::Comment::set_Id method
Comment::set_Id method
Sets the comment identifier.
void Aspose::Words::Comment::set_Id(int32_t value)
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++