Set Default Font Size for All Text Boxes on All Presentation Slides to 10 in C#

Hi Team,

When we insert a text box in any of the slides after generated from aspose, the default font size that is getting displayed is ‘18’ – Can this be changed to ‘10’– by setting Default Font size in all slides generated from aspose.

Thanks,

@Rashique,
Thank you for contacting support. Unfortunately, I was also unable to do this with Aspose.Slides.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESNET-44420

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@Rashique,
We have looked into your question. To set the default font size for all text boxes in a PowerPoint presentation, you should set the font size in the default text style of the Presentation object like this:

using var presentation = new Presentation();

presentation.DefaultTextStyle.GetLevel(0).DefaultPortionFormat.FontHeight = 10;

presentation.Save("presentation.pptx", SaveFormat.Pptx);