Aspose::Cells::Comment::SetNote method

Comment::SetNote(const U16String&) method

Represents the content of comment.

void Aspose::Cells::Comment::SetNote(const U16String &value)

Remarks

If this is a threaded comment, the note could not be changed, otherwise MS Excel could not process it as a threaded comment.

Examples

U16String note_1 = u"First note.";
U16String note_2 = u"Second note.";
comment1.SetNote(note_1);
comment2.SetNote(note_2);

See Also

Comment::SetNote(const char16_t*) method

Represents the content of comment.

void Aspose::Cells::Comment::SetNote(const char16_t *value)

Remarks

If this is a threaded comment, the note could not be changed, otherwise MS Excel could not process it as a threaded comment.

Examples

comment1.SetNote(u"First note.");

See Also