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: 2023.1.3.0 (2023.1.3)
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