Hi,
I’m using this code Unprotect
. But it does not work.
Open password: 123
Edit password: 456
SDK: Words for C++ 21.6
密码123,编辑456.zip (6.3 KB)
Thanks
Hi,
I’m using this code Unprotect
. But it does not work.
Open password: 123
Edit password: 456
SDK: Words for C++ 21.6
密码123,编辑456.zip (6.3 KB)
Thanks
For the sake of any corrections in Aspose.Words for C++ API, we have logged this problem in our issue tracking system with ID WORDSNET-22533. We will further look into the details of this problem and will keep you updated on the status of linked issue. We apologize for your inconvenience.
@kngstr To remove the password to modify, you need to reset it using Document.WriteProtection.SetPassword
method. Simply pass an empty string into this method.
doc->get_WriteProtection()->SetPassword(u"");
Please see the following link for more information: