Aspose::Cells::Comment::GetAutoSize method
Comment::GetAutoSize method
Indicates if size of comment is adjusted automatically according to its content. Note: In some special cases (such as Mac environment), this setting may not take effect. If this setting does not take effect, please replace it with FitToTextSize().
bool Aspose::Cells::Comment::GetAutoSize()
Examples
if (!comment1.GetAutoSize())
{
//The size of the comment varies with the content
comment1.SetAutoSize(true);
}
See Also
- Class Vector
- Class Comment
- Namespace Aspose::Cells
- Library Aspose.Cells for C++