Dear Aspose Team,
I want to do this. When the user downloads a file and a “Protected View” message appears, he cannot use the ctrl + A , ctrl + C. I know that the microsoft word can be set, but I hope that it can be processed through the program. Will this be done?
格式2-22A 投標廠商聲明書_1070423版 (1).zip (29.7 KB)
@wunhueic,
Thanks for your inquiry. Please note that Aspose.Words mimics the behavior of MS Word. You cannot disable copy option using Aspose.Words. This is operating system level setting which is not stored in the document and therefore cannot be controlled by Aspose.Words.
You can use following code example as a workaround. By using ProtectionType.AllowOnlyFormFields, “copy/paste” is disabled by MS Word in document. However, user can enter data in the form fields and content controls in the document.
Document doc = new Document(MyDir + "in.docx");
doc.Protect(ProtectionType.AllowOnlyFormFields);
doc.Save(MyDir + "18.4.docx");
Hi,
Thank you for your help~