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

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