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

Free Support Forum - aspose.com

[URGENT] PageStartingNumber is always 2 when using SectionBreakEvenPage

Hi,

I have a document that is build from multiple sections. In each section i set the PageSetup.PageStartingNumber to 1 and now i have setted Breaktype.SectionBreakEvenPage, but the pagenumbers are starting from 2.

If i change my startnumber to 0, then they will also start from 0. But i can't let them start from Page 1.

Any idea why ?

Hi

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

Thanks for your inquiry. When you insert section break Even, cursor moves to even page. Even page cannot have odd number. You will see exactly the same behavior if you insert such break in MS Word.

Maybe in your case it is better to use SectionBreakNewPage.

Best regards,

Thank you,

I fixed it by switching the odd and even header/footer, and it gives me the expected result

Hi

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

It is perfect that you managed to resolve the issue. Please feel free to ask if you need more information. I will be glad to help you.

Best regards,