Aspose::Cells::Comment::SetAuthor method
Comment::SetAuthor(const U16String&) method
Gets and sets Name of the original comment author.
void Aspose::Cells::Comment::SetAuthor(const U16String &value)
Examples
if (comment1.GetAuthor().IsNull())
{
U16String author = u"Carl.Yang";
comment1.SetAuthor(author);
}
See Also
- Class Vector
- Class U16String
- Class Comment
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Comment::SetAuthor(const char16_t*) method
Gets and sets Name of the original comment author.
void Aspose::Cells::Comment::SetAuthor(const char16_t *value)
Examples
if (comment1.GetAuthor().IsNull())
{
comment1.SetAuthor(u"Carl.Yang");
}
See Also
- Class Vector
- Class Comment
- Namespace Aspose::Cells
- Library Aspose.Cells for C++