Question T12800
Visible to All Users

How to add a progress bar to exported PDF

created 2 years ago

Hi,

We want to render the progress bar in the exported PDF file in Survey PDF.

Is it possible to implement?

Thanks,
Santosh

Answers approved by surveyjs Support

created 2 years ago (modified 2 years ago)

Hello Santosh,
You can handle the surveyPDF.onRenderHeader event and render a progress bar using the canvas.drawImage function.

Please refer to the following demo for an example of the onRenderHeader usage: https://surveyjs.io/pdf-generator/examples/customize-header-and-footer-of-pdf-form/reactjs.

Let us know if you have any questions or require further assistance.