We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to scale fonts to fit

I have a slide with text that can be replaced by multiple lines. After the replacements are done, more text is added to the slide. If there a way to determine how much room there is and scale the fonts so that everything fits?

Dear Ken,

I regret to inform you that the feature of finding how much room is available in a given text frame when certain font height is used, is unavailable in Aspose.Slides for Java. However, the converse of this is supported, i.e. you can set the shape to fit the text using setFitShapeToText property.

We are sorry for your inconvenience,