IPXS_PDFVariant::Stream_CreateEncoder Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Stream_CreateEncoder([in]                      IPXS_EncodeFiltersArray*  pFilters,
                             [in, defaultvalue(NULL)]  PXS_StreamInfo*           stStreamInfo,
                             [in, defaultvalue(0)]     ULONG                     nFlags,
                             [out, retval]             IPXS_EncodeFilter**       pEncoder);

Parameters

pFilters
[in] Pointer to IPXS_EncodeFiltersArray.
stStreamInfo
[in, defaultvalue(NULL)] Pointer to PXS_StreamInfo.
nFlags
[in, defaultvalue(0)] Value of ULONG.
pEncoder
[out, retval] Pointer to IPXS_EncodeFilter.

Return Value

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

See Also

IPXS_PDFVariant