IPXC_Document::SetStdEncryption Method

From PDF XChange PDF SDK
Revision as of 00:08, 26 May 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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                     pUserPassword,
                         [in]  BSTR                     pOwnerPassword);

Parameters

nMethod
[in] Value of PXC_StdEncryptionMehtod.
bEncryptMetadata
[in] Value of VARIANT_BOOL.
nPermission
[in] Value of ULONG.
pUserPassword
[in] Value of BSTR.
pOwnerPassword
[in] Value of BSTR.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXC_Document