IPXS_PDFVariant::Stream_CreateEncoder Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXS_PDFVariant::Stream_CreateEncoder Method}}
 
{{#customTitle:IPXS_PDFVariant::Stream_CreateEncoder Method}}
{{#parentPage:PXV:IPXS_PDFVariant|method}}
+
{{#parentPage:PXV:IPXS_PDFVariant#Methods|Stream_CreateEncoder|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Stream_CreateEncoder([in] IPXS_EncodeFiltersArray* pFilters, [in, defaultvalue(NULL)] PXS_StreamInfo* pStreamInfo, [in, defaultvalue(0)] ULONG dwFlags, [out, retval] IPXS_EncodeFilter** ppEncoder);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Stream_CreateEncoder([in]                     IPXS_EncodeFiltersArray* pFilters,
 +
                            [in, defaultvalue(NULL)] PXS_StreamInfo*           stStreamInfo,
 +
                            [in, defaultvalue(0)]     ULONG                     nFlags,
 +
                            [out, retval]             IPXS_EncodeFilter**       pEncoder);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pFilters''
+
;pFilters
 
:[in]  Pointer to [[PXV:IPXS_EncodeFiltersArray|IPXS_EncodeFiltersArray]].
 
:[in]  Pointer to [[PXV:IPXS_EncodeFiltersArray|IPXS_EncodeFiltersArray]].
;''pStreamInfo''
+
;stStreamInfo
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:PXS_StreamInfo|PXS_StreamInfo]].
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:PXS_StreamInfo|PXS_StreamInfo]].
;''dwFlags''
+
;nFlags
 
:[in, defaultvalue(0)]  Value of ULONG.
 
:[in, defaultvalue(0)]  Value of ULONG.
;''ppEncoder''
+
;pEncoder
 
:[out, retval]  Pointer to [[PXV:IPXS_EncodeFilter|IPXS_EncodeFilter]].
 
:[out, retval]  Pointer to [[PXV:IPXS_EncodeFilter|IPXS_EncodeFilter]].
  
Line 24: Line 28:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
+
[[PXV:IPXS_PDFVariant|IPXS_PDFVariant]]

Latest revision as of 02:45, 15 June 2015


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