C1Preview Custom Page Numbering

Posted by: nikola.jovicic on 5 April 2022, 9:10 am EST

    • Post Options:
    • Link

    Posted 5 April 2022, 9:10 am EST

    Hello,

    I’m having an issue creating page numbering. I’m using “Page [PageNo] of [PageCount]” with RenderDirect to add the page numbers, and I’m trying to create multiple separate page numbering within one C1PrintDocument. Are there some ways to achieve this? I’ve tried creating multiple documents instead of one and adding them to the C1MultiDocument but that didn’t give the expected result. I’m using version 4.5.20213.532.

  • Posted 6 April 2022, 9:48 am EST

    Hi,

    Could you please let us know in detail what do you mean by “create multiple separate page numbering within one C1PrintDocument” so that we can understand your requirements better and assist you accordingly?

    As per our understanding, you want to show page numbers in the footer. You can do so by creating a PageLayout and setting the PageFooter property for that layout. Then you can add this layout in the PageLayouts property of the C1PrintDocument. Kindly refer to the attached sample showing the same.

    Kind Regards,

    Kartik

    PageNumber_C1PD.zip

  • Posted 7 April 2022, 3:14 am EST

    Hello,

    Thank you for the suggestion. I have found the solution by using custom tags and expressions. The original idea was to have two documents generated in one go and displayed within preview control. Instead of having “1/3”, “2/3”, “3/3” numbering, I needed to have numbering to be “1/2”, “2/2”, “1/1”.

    Best Regards,

    Nikola

  • Posted 7 April 2022, 11:05 pm EST

    Hi,

    Good to hear that your requirements are fulfilled. If you need any other information, do let us know.

    Best Regards,

    Kartik

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels