IPXS_Document::GetStandardStreamEncoder Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT GetStandardStreamEncoder([in] PXS_StreamEncoderParamStruct* Params,
[in] ULONG nKeyLen,
[in] UCHAR* pKey,
[in] ULONG nVersion,
[in] ULONG nRevision,
[in] PXS_CryptMethod nMethod,
[in] VARIANT_BOOL bEncodeMetadata,
[in] VARIANT_BOOL bOnlyEF,
[out, retval] IPXS_pdfStreamCoder** pDecoder);
Parameters
- Params
- [in] Pointer to PXS_StreamEncoderParamStruct.
- nKeyLen
- [in] Value of ULONG.
- pKey
- [in] Pointer to UCHAR.
- nVersion
- [in] Value of ULONG.
- nRevision
- [in] Value of ULONG.
- nMethod
- [in] Value of PXS_CryptMethod.
- bEncodeMetadata
- [in] Value of VARIANT_BOOL.
- bOnlyEF
- [in] Value of VARIANT_BOOL.
- pDecoder
- [out, retval] Pointer to IPXS_pdfStreamCoder.
Return Value
Returns S_OK if operation was successful or error code in other cases.