Posted by a ceTe Software moderator
Hello,
There is no option to disable the save toolbar item on the browser window. It is possible to hide the toolbar using ViewerPreferences for Document object but please note that, opening a PDF is completely handled by the browser or a PDF viewer.
You can disable printing by setting security to the Document object. You will need to set the AllowPrint Boolean property of security classes of our API to false and apply to the Document. Below is a code sample.
Document document = new Document();
Page page = new Page();
document.Pages.Add(page);
TextArea textArea = new TextArea("Test", 0, 0, 200, 30);
textArea.Align = TextAlign.Left;
page.Elements.Add(textArea);
Aes256Security securityObj = new Aes256Security();
securityObj.OwnerPassword = "owner";
securityObj.AllowPrint = false;
document.Security = securityObj;
document.Draw(@"C:\Temp\MyDocument.pdf);
Please note that the Aes256Security class is available starting with version 7, so for version 6 or before, you will need to use the now deprecated HighSecurity or StandardSecurity classes.
Thanks,
ceTe Software Support Team