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;

or

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

Thanks.

Shaun

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.

Shaun

Here is the code example.

C#

JAVA