Posted 28 June 2022, 2:34 am EST
Hi,
I’m using the printing options from FlexGrid.
I’m setting a specific footer text and I want to customize this footer text with the page number.
Is it possible to do so ?
Forums Home / ComponentOne / WinForms Edition
Posted by: fsegui on 28 June 2022, 2:34 am EST
Posted 28 June 2022, 2:34 am EST
Hi,
I’m using the printing options from FlexGrid.
I’m setting a specific footer text and I want to customize this footer text with the page number.
Is it possible to do so ?
Posted 28 June 2022, 4:09 pm EST
Hi,
To set your custom footer text, you can use the C1FlexGrid.PrintParameters.Footer property. To customize this footer text with the page numbers, you can use the {0} and {1} placeholders in your custom string, which will be replaced by the current page number and total page count.
Kindly refer to the attached sample showing the same. You can also refer to the documentation link below.
Best Regards,
Kartik
Posted 4 July 2022, 1:04 am EST
Hi,
Sorry for not responding but thanks for your answer.
Works fine.