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

Free Support Forum - aspose.com

Autonumber Objects

Is it possible to either:

1. Add a text box to a master slide and designate it to to be the autonumber box and insert text to display with the number;


2. Access the autonumber box (if it exists) and edit the text to display with the number.



Do I need to clarify the question?

Hello Shaun,

What you mean autonumber box? Shape with slide number?
In this case I’d suggest add rectangle to each slide and write slide number there.

Hi Alcrus,

My apologies I think I got the name wrong. I was referring to the "Number Area" box which can be added to slide masters.

Adding a slide number rectangle won't be any use if the end user add/removes or otherwise manipluates the slides. Using the "Number Area" box would mean the slide number updates automatically within PowerPoint.

So my question was can you manipulate this object using Aspose.Slides. When directly editing a master within PowerPoint you can add text to display with the slide number, for example "Slide number <#>" and the <#> is converted to the actual number.

Please let me know if I am still being unclear.


Here is the code example.

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