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

Free Support Forum - aspose.com

Can't change the font size

hello,



this issue does not work for me. (Version 2.5.0, also current version does not work)

I iterate over all slides and there TextFrames and and get the specified one by my text.

I will set the font size so:



Paragraph para=tf.getParagraphs().get(0);

Portion port = para.getPortions().get(0);

port.setFontBold(true);

port.setFontHeight((short)55);



Sadly it does not work.



Any suggestions?



regards

Mebel

Hi Mebel,


I have worked over the requirements shared by you and have used the code snippet shared over this link for my investigation using Aspose.Slides for Java 2.7.0 and successfully set the font size. Please look for heading, “Managing Font Properties of a Paragraph” in the shared link and follow the respective code.

Many Thanks,