Alphanumeric Page Numbering Style Needed in PDF

Last post 01-21-2011, 4:22 AM by codewarior. 1 replies.
Sort Posts: Previous Next
  •  01-21-2011, 1:29 AM 280116

    Alphanumeric Page Numbering Style Needed in PDF .NET

    Hi,

    Currently Page Numbers appear only in Numeric form i.e. 1...27, etc. But it should be able to support alphanumeric text say like Roman Numbers i.e. i, ii, iii, or One, Two, or can be in context of a major section in PDF say 1-1, 1-2, 1-3 .... i.e. "Section Number" - "Page Number".

    Please refer the link below: http://www.ujihara.jp/iTextdotNET/examples/Chap1110.pdf

    and expand its "Pages" section or Toolbar which refers to Page Numbers

    http://www.ujihara.jp/iTextdotNET/examples/Chap1110.cs

    It is supported by iTextdotNet.

     

    Filed under: aspose pdf
     
  •  01-21-2011, 4:22 AM 280176 in reply to 280116

    Re: Alphanumeric Page Numbering Style Needed in PDF

    Hello Rajat,

    Thanks for considering Aspose.

    I am pleased to inform you that you can specify a particular page numbering format for the resultant PDF. The numbering format can either be Arab, RomanUpper, RomanLower, EnglishUpper or EnglishLower. In order to accomplish this requirement, you need to use PageNumberFormat property of Pdf class and you can use any of the value from PageNumberFormatType enumeration.

    In case you need to get the page numbering for a specific section, you can use $Sp (Displays page number in the current section) or $SP (Displays page count of the current section) and the symbols will be replaced with respective values at runtime. Please visit the following link for further information on how to use Replaceable Symbols

    Please note that you can only specify the PageNumber formatting inside the PDF document and I am afraid Aspose.Pdf does not support the feature to specify formatting information over the controls of PDF viewer tool   i.e. Adobe Reader etc. As far as I can see in the PDF document shared over http://www.ujihara.jp/iTextdotNET/examples/Chap1110.pdf, the page number formatting is also specified over the StatusBar section and I am afraid this feature is not supported. We apologize for your inconvenience.

    In the event of any further query, please feel free to contact.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
View as RSS news feed in XML