Can you detect when a PDF is printed or downloaded from the browser PDF viewer?

后端 未结 3 1472
我寻月下人不归
我寻月下人不归 2021-02-20 00:10

We have an AngularJS web app that loads PDF documents from the server and displays them within the page like this:

3条回答
  •  孤街浪徒
    2021-02-20 00:46

    Have you tried creating your own pdf viewer?

    There are pdf viewer components readily available where you can edit your pdf viewer(like add event listeners to buttons, position them, etc).

    I remember building one on top of pdf.js in angular a long time ago. I am sure with pdf.js you can implement all the above-mentioned use cases.

提交回复
热议问题