Click here to Skip to main content
15,031,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to disable or hide the print and save button from pdf inside the iframe..

What I have tried:

<iframe id="ifrm" width="100%" height="700" src="Uploads\sample.pdf#toolbar=0"></iframe>
Updated 14-May-17 0:45am

1 solution

You can't. By the time the user is viewing the PDF it is saved onto their drive anyway in the temporary files folder so they could copy it somewhere else from there.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900