PdfDocumentPdfSecuritySettingsAllowUserFormData Property

Gets or sets the permissions for users to fill-in (enter data into) forms in the PDF document.

If AllowUserFormData is set false, the OwnerPassword must be set for the security measure to take effect.

Note. If you want to make the form readonly in Adobe Acrobat Reader please call MakePdfDocumentReadOnly(String) method or set AllowUserEdits to NoEdit and set OwnerPassword.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.10.3
public bool AllowUserFormData { get; set; }

Property Value

Type: Boolean
true if users may annotate the PDF document, otherwise false. Setting AllowUserFormData true will also enable annotations.
See Also
Download DLL or Install with Nuget