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. Image for the cookie policy date

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

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?

3 Replies

PH Praveenkumar H Syncfusion Team May 27, 2013 04:06 AM UTC

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,
Praveen
          



JP joel pelaez June 12, 2013 05:25 PM UTC

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


KC Karthikeyan Chandrasekar Syncfusion Team June 19, 2013 12:32 PM UTC

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.

 

Thanks,

Karthikeyan.C

 


Loader.
Live Chat Icon For mobile
Up arrow icon