Click or drag to resize
SoToPDFActionSetPassword Method (String, String)

[Optional] Set passwords to lock write & read access to the PDF file contents.

Namespace: OIV.HardCopy
Assembly: OIV.HardCopy (in OIV.HardCopy.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void SetPassword(
	string writePass,
	string readPass
)

Parameters

writePass
Type: SystemString
readPass
Type: SystemString
Remarks

Passwords are optional. A write password is required before setting a read password. Write and read passwords must be different.

See Also