Aspose::Cells::Comment::SetAutoSize method

Comment::SetAutoSize method

Indicates if size of comment is adjusted automatically according to its content.

void Aspose::Cells::Comment::SetAutoSize(bool value)

Examples

if (!comment1.GetAutoSize())
{
    //The size of the comment varies with the content
    comment1.SetAutoSize(true);
}

See Also