Protect the PDF Document from modification.
Function: void SetReadOnly ();
Description: Protects the current open pdf document.
 1. Hide the File toolbar
 2. Disable the Copy button
 3. Hide the Right click menu
 4. Disable the Save, Print, Copy, Show/Hide Toolbar hot key.
 
 PDFViewer1.SetReadOnly();
 Tips:
 If you want to set read only property when you load a pdf file, you need put the method at OnDocumentOpened event.
 <SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
 function PDFViewer1_NotifyCtrlReady()
 {
 //document.PDFViewer1.LicenseName = “yourlicensename”;
 //document.PDFViewer1.LicenseKey = “yourlicensename”;
 document.PDFViewer1.LoadFile (“e:\\OA_Reference2.pdf”);
 }
 function PDFViewer1_OnDocumentOpened(FileName)
 {
 document.PDFViewer1.SetReadOnly();
 }
 </SCRIPT>
 <SCRIPT LANGUAGE=javascript FOR=PDFViewer1 EVENT=NotifyCtrlReady>
 <!–
 PDFViewer1_NotifyCtrlReady();
 //–>
 </SCRIPT>
 <SCRIPT LANGUAGE=javascript FOR=PDFViewer1 EVENT=OnDocumentOpened(FileName)>
 <!–
 PDFViewer1_OnDocumentOpened(FileName);
 //–>
 </SCRIPT>