We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Saving Word.doc with Word's password protection scheme

Are there any plans to include the capability to save Word.docs using Word comaptible password protection like SyncFusion is intending to do for their product. I understand the reason that you have given so far but if they can why not you. I am trying to get a decision made in my company to go with your product but without this capability it is an uphill struggle. We also waiting for the new printing function to be introduced which is another must.
Thanks,
Lars

Hi
Thanks for your request. You can use the following code to protect document with password.

doc.Protect(ProtectionType.ReadOnly, "password");
doc.Save(@"229_96696_ljonsson\out.doc");

Also see the following link.
https://reference.aspose.com/words/net/aspose.words/document/protect/
Best regards.