IPXC_Document::SetStdEncryption Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 12: | Line 12: | ||
[in] VARIANT_BOOL bEncryptMetadata, | [in] VARIANT_BOOL bEncryptMetadata, | ||
[in] ULONG nPermission, | [in] ULONG nPermission, | ||
− | [in] BSTR | + | [in] BSTR sUserPassword, |
− | [in] BSTR | + | [in] BSTR sOwnerPassword);</pre> |
== Parameters == | == Parameters == | ||
Line 22: | Line 22: | ||
;nPermission | ;nPermission | ||
:[in] Value of ULONG. | :[in] Value of ULONG. | ||
− | ; | + | ;sUserPassword |
:[in] Value of BSTR. | :[in] Value of BSTR. | ||
− | ; | + | ;sOwnerPassword |
:[in] Value of BSTR. | :[in] Value of BSTR. | ||
Revision as of 01:15, 4 June 2015
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT SetStdEncryption([in] PXC_StdEncryptionMehtod nMethod, [in] VARIANT_BOOL bEncryptMetadata, [in] ULONG nPermission, [in] BSTR sUserPassword, [in] BSTR sOwnerPassword);
Parameters
- nMethod
- [in] Value of PXC_StdEncryptionMehtod.
- bEncryptMetadata
- [in] Value of VARIANT_BOOL.
- nPermission
- [in] Value of ULONG.
- sUserPassword
- [in] Value of BSTR.
- sOwnerPassword
- [in] Value of BSTR.
Return Value
Returns S_OK if operation was successful or error code in other cases.