Free Support Forum - aspose.com

How to Print Page Numbers to pdf using Aspose.pdf?

How to Print Page Numbers to pdf using Aspose.pdf?

In pdf i have to get page 1 0f 5 in tht Page 1 ...?

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

Please see the following documentation link with details and sample code regarding how to add page number in your PDF file using Aspose.Pdf for .NET.

Add Page Number in a PDF File (Facades)

After adding the page numbers, you can print the document using PdfViewer class. Please see the following documentation link for details and sample code.

Working with Printing (Facades)

In case you need any further assistance, please do let us know.

Thank You & Best Regards,