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

Free Support Forum - aspose.com

Change the slide number Font Size using Aspose.slides

Hi,

I need to change font size of the slide numbers in the PPT file.

Font Size is 11 pt.

Regards

PNR.

Dear PNR,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Access the page number placeholder on master slide and then change the font size.

e.g

Slide masterSld=pres.MainMaster;

Placeholder phld=masterSld.Placeholders[footerIndex];

TextHolder thld=phld as TextHolder;

thld.Paragraphs[0].Portions[0].FontHeight=newFontHeight

Please see this thread, how you can get the footerIndex

Setting Header Footer On Master Slides using Metacharacters