Hi,
Toolbar of PDF can Hide by using following line of code:
PdfWriter writer = PdfWriter.GetInstance(document, m);
writer.ViewerPreferences = PdfWriter.HideToolbar;
Toolbar can encrption by using permission using following lin of code:
writer.SetEncryption(true, null, null, PdfWriter.HideToolbar);
writer.SetEncryption(true, null, null, PdfWriter.HideWindowUI);
writer.SetEncryption(true, null, null, PdfWriter.HideMenubar);
Hopefully this would be helpful for all of you.
Thanks
Saqib
This comment has been removed by the author.
ReplyDeletenice...
ReplyDeleteIt's possible to disable right click menu option on pdf