Click here to Skip to main content
15,917,997 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi all,
please help me.....
i want to make pdf file but user cannot able to copy the text from pdf file. he can just read only. he can't do anything with pdf file.


Thanks in advance....,
Posted
Comments
Sergey Alexandrovich Kryukov 28-May-12 4:02am    
Readonly "can't do anything with PDF file" have nothing to do with ability to copy the text. If it is readonly, you can always copy the file -- this is a matter of OS, not PDF. Preventing clipboard copy is possible and is sometimes used, but I think this would be such a rude violation of fair use and natural user's right for information! I would not ever deal with a person or company using such dirty tricks.

I have to vote 1 for apparent lack of understanding of your own question, to say the least.
Sorry,
--SA

1 solution

You can use iTextSharp[^] to create protected pdf file. But be aware, that if somebody can render (view) it, can also save it to image and get the text back with an OCR application. You can not prevent this, or you actually create a pdf that cannot be used in any form.
 
Share this answer
 

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