在Web浏览器中显示不可编辑,不可打印的pdf [英] Display non editable , non printable pdf in web browser

查看:274
本文介绍了在Web浏览器中显示不可编辑,不可打印的pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..

我想使用c#显示不可编辑(也不允许用户复制pdf中的内容),在网页浏览器中显示不可打印的pdf(与在线图书预览的显示相同) ,.net mvc,我该怎么做?

谢谢,

Nirav

Hi..
I want to Display non editable(also user should not allow to copy content from pdf) , non printable pdf in web browser(same as display for online book preview) using c# , .net mvc , how can i do this?
Thanks,
Nirav

推荐答案

你可以做通过使用 iTextsharp 。请查看下面提到的文章以获取更多信息。



我写了一篇关于此的文章:如何使用iTextSharp创建Asp.Net MVC报告?



iTextSharp:禁用PDF打印



iText禁用打印/复制/节省



我希望这会对你有所帮助。
You can do that by using iTextsharp.Please check below mentioned articles for more info.

I have written an article about this : How to Create Asp.Net MVC Report with iTextSharp?

iTextSharp: Disable PDF Printing

iText disable printing/Copying/Saving

I hope this will help to you.


这篇关于在Web浏览器中显示不可编辑,不可打印的pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆