Aspose::Cells::Drawing::Shape::FitToTextSize method

Shape::FitToTextSize method

Recalculate a text area suitable for displaying all text content.

void Aspose::Cells::Drawing::Shape::FitToTextSize()

Examples

if (shape.GetName().StartsWith("Your traget"))
{
    shape.FitToTextSize();
}

See Also