PdfDocumentPdfSecuritySettingsMakePdfDocumentReadOnly Method

Makes this PDF document read only such that:

Content is encrypted at 128 bit. Copy and paste of content is disallowed. Annotations and form editing are disabled.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.6.0.0 (2020.6.0.0)
Syntax
public void MakePdfDocumentReadOnly(
	string OwnerPassword
)

Parameters

OwnerPassword
Type: SystemString
The owner password for the PDF. A string for owner password is required to enable PDF encryption and all document security options.
See Also
Download DLL or Install with Nuget