Click or drag to resize

PdfSecurity Encrypt Method (String)

To Encrypt the PDF document with open password. Note:If set empty string value to open password, it indicates that the PDF document can be operated without providing corresponding password. Note: the document owner password should not be exist.

Namespace: Spire.Presentation.External.Pdf
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public void Encrypt(
	string openPassword
)

Parameters

openPassword
Type: System String
The open password
See Also