Prevent user from printing/saving PDF file in C#

别来无恙 提交于 2021-02-05 07:24:26

问题


I am writing an application that views PDF files, this application uses AxAcroPDFLib AxAcroPDF

My problem here is that I want to prevent user from saving and/or printing PDF files that are being viewed in my application

Or in other words I want to hide toolbar of the PDF viewer

any ideas ?!

Thanx in advance


回答1:


I solved the problem by using another plugin to view PDF files PDF Viewer




回答2:


You can able to hide the toolbar by

axAcroPDF1.setShowToolbar(false);


来源:https://stackoverflow.com/questions/8870518/prevent-user-from-printing-saving-pdf-file-in-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!