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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to start page numbers from second page in PDF?

Platform: WinForms |
Control: PDF

You can start the page numbers from second page by very simple steps using Essential PDF. Split the PDF document by using sections, add a section for the first page and add another section for the following pages. Then, draw the page number for the second section alone.

Step 1: Add a section for first page.


//Adding new section for 1st page where the page number not to be added
PdfSection section1 = doc.Sections.Add();
PdfPage page = section1.Pages.Add();

Step 2: Add another section for the following pages from page 2.


//Adding new section for other pages to add page number
PdfSection section2 = doc.Sections.Add();
//Adding 3 pages in section 2
for (int i = 2; i <= 4; i++)
//Adding a new page to PDF document
page = section2.Pages.Add();

Step 3: Draw the page number only to the second section.


//Adding Footer only to second section
this.AddFooter(section2, "@Copyright 2007");

The following sample link is used to achieve the above requirement.


2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon 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.Close Icon

Live Chat Icon For mobile