This is a migrated thread and some comments may be shown as answers.

Protection of a Document on exporting to docx

1 Answer 58 Views
WordsProcessing
This is a migrated thread and some comments may be shown as answers.
Holger
Top achievements
Rank 1
Holger asked on 06 May 2017, 06:57 PM

Hello,

 

I want to protect some Paragraphs in a document against changing. But it seems not to be possible.

I have tried:

document.ProtectionSettings.Enforce = true;
document.ProtectionSettings.ProtectionMode = DocumentProtectionMode.ReadOnly;

But it ist still possible to Change the document in word.

Thanks in advance

Holger

 

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 10 May 2017, 10:17 AM
Hello Holger,

I tested the functionality and seems to be working as expected on our end. Have you added the permission ranges to the desired content to protect them? You can find more information on how to use the protection in the PermissionRange help article.

Hope this helps.

Regards,
Tanya
Telerik by Progress

Tags
WordsProcessing
Asked by
Holger
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or