Aspose::Cells::Comment::GetAutoSize method

Comment::GetAutoSize method

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

bool Aspose::Cells::Comment::GetAutoSize()

Examples

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

See Also