We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Can the page number start from anywhere say 5 instead of 1?

Thread ID:





108914 May 20,2013 02:17 PM Jun 19,2013 08:32 AM ASP.NET Web Forms (Classic) 3
Tags: PDF
Neelima Kaja
Asked On May 20, 2013 02:17 PM

Hello, can we change from where the page numbers start? Say i want it start from 5 instead of 1.
Also can i change it be roman numeral?

Praveenkumar H [Syncfusion]
Replied On May 27, 2013 12:06 AM

Hi Neelima,

Thank you for using Syncfusion project,

We can't start the page number anywhere from the document.
We can change the page number to roman numeral by using below code snippet.

  //Create page count field
            PdfPageCountField count = new PdfPageCountField(font, brush);
            count.NumberStyle = PdfNumberStyle.LowerRoman;

Please let us know if you have any concern.

With Regards,

joel pelaez
Replied On June 12, 2013 01:25 PM

I did it, on each section using this:
IWSection section = new WordDocument().addSection();
section.PageSetup.RestartPageNumbering = true;
                    section.PageSetup.PageStartingNumber = pageStartingNumber;

KarthikeyanC [Syncfusion]
Replied On June 19, 2013 08:32 AM

Hi Joel,

Thank you for using Syncfusion Products.


This forum is opened for Essential Pdf.

And your question seems to be from Essential DocIO(IWSection).

Could you please post the query in the correct place.






This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.