Free Support Forum - aspose.com

Problem - PDF Page Numbers in Arabic

Hi, I am able to generate auto page numbers (using XML $p) while writing the pdf in .NET, but the page number is appearing in english i want the page number appear in arabic number format, can you please guide me how can i do this using XML only or if it is not possible then guide to do it dynamically.

Hi,

You are able to custom the page number format. It can be these formats: Arab, EnglishUpper, EnglishLower,RomanUpper,RomanLower.
Here is an sample xml for your reference:
<?xml version="1.0" encoding="utf-8"?>
<Pdf xmlns=“Aspose.Pdf” PageNumberFormatType=“Arab”>


$p



Please try it and let us know if you have any problem.
Thanks.

Best regards.