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.
Syncfusion Feedback

Page numbering

Thread ID:

Created:

Updated:

Platform:

Replies:

116078 Mar 28,2014 02:34 PM UTC Apr 2,2014 04:13 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: PDF
jonathan crawford
Asked On March 28, 2014 02:34 PM UTC

Hi
I have a created a report by amalgamating a numbe of pdfs, some of which I create. Others already exist

PdfLoadedDocument

loadedDocument = new PdfLoadedDocument(addfilename);

docFinal.Append(loadedDocument);

Which was truly simple to do.

However I need to have pagination starting from the first document and ending with the last page of the last one.

Is this possible?

Secondly, each of these documents represents a section. is it possibnle to add a bookmark to these

sections.

Thanks

Jonathan

 

 

 

 

KarthikeyanC [Syncfusion]
Replied On April 2, 2014 04:13 AM UTC

Hi Jonathan,

Thank you for using Syncfusion Products.

 

We can able to draw the page number in the loaded document, please use the below code snippet.

            PdfLoadedDocument ldDoc = new PdfLoadedDocument(path);

            int i = 1;

            foreach (PdfPageBase page in ldDoc.Pages)

            {

                page.Graphics.DrawString(i, font, brush, point);

                i++;

            }

 

We can also create the Bookmark with our desired location, please refer the below links for more detail.

 

http://help.syncfusion.com/cr/cref_files/windows%20forms/pdf/html/757808ee-a870-faa4-2aff-9fa98d94e09d.htm

http://help.syncfusion.com/cr/cref_files/windows%20forms/pdf/html/bcbbf4e0-6223-e66d-529a-d70502b45040.htm

 

Please let us know if you need any further assistance.

Thanks,

Karthikeyan.C


CONFIRMATION

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.

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

;