SoToPDFActionSetPassword Method (String, String) |
[Optional] Set passwords to lock write & read access to the PDF file contents.
Namespace: OIV.HardCopyAssembly: OIV.HardCopy (in OIV.HardCopy.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public void SetPassword(
string writePass,
string readPass
)
Public Sub SetPassword (
writePass As String,
readPass As String
)
public:
void SetPassword(
String^ writePass,
String^ readPass
)
member SetPassword :
writePass : string *
readPass : string -> unit
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