linkedinfacebooktwittermenuarrow-up

GemBox Support Forum

Ability to Lock Fields

I am working with Word documents that have fields. I need to ‘lock’ the value of the field so they can be printed. This would be equivalent to selecting a field in the Word Doc and typing Ctrl + F11. Is this possible with GemBox?

Hi,

I was unable to observe any change when using CTRL + F11 on a field.

Can you please send us a sample Word document that has one locked and one unlocked field?

Regards,
Mario

Thanks for your response. I really can’t share the document, but the link below is what I am trying to do programmacially.

Specifically, the section:

  • To lock the field to prevent updates, click on the field, and then press Ctrl+F11 :

Hi,

We added support for the Field.IsLocked property, can you please try again with this bugfix:
https://www.gemboxsoftware.com/document/nightlybuilds/GBD35v1144.zip

Or this NuGet package:
Install-Package GemBox.Document -Version 35.0.1144-hotfix

Does this solve your issue?

Regards,
Mario