IPXC_ColorSpace::CreateTransform Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
Line 10: Line 10:
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT CreateTransform([in]                  IPXC_ColorSpace*    pDestCS,
 
<pre class="brush:cpp;gutter:false">HRESULT CreateTransform([in]                  IPXC_ColorSpace*    pDestCS,
                         [in]                  PXC_RenderingIntent  RenderIntent,
+
                         [in]                  PXC_RenderingIntent  nRenderIntent,
                         [in, defaultvalue(0)]  VARIANT_BOOL        bpc,
+
                         [in, defaultvalue(0)]  VARIANT_BOOL        bBlackPointComp,
                         [out, retval]          IUnknown**          ppTransform);</pre>
+
                         [out, retval]          IUnknown**          pTransform);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;pDestCS
 
;pDestCS
 
:[in]  Pointer to [[PXV:IPXC_ColorSpace|IPXC_ColorSpace]].
 
:[in]  Pointer to [[PXV:IPXC_ColorSpace|IPXC_ColorSpace]].
;RenderIntent
+
;nRenderIntent
 
:[in]  Value of [[PXV:PXC_RenderingIntent|PXC_RenderingIntent]].
 
:[in]  Value of [[PXV:PXC_RenderingIntent|PXC_RenderingIntent]].
;bpc
+
;bBlackPointComp
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
;ppTransform
+
;pTransform
 
:[out, retval]  Pointer to IUnknown*.
 
:[out, retval]  Pointer to IUnknown*.
  

Latest revision as of 10:52, 11 January 2016


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateTransform([in]                   IPXC_ColorSpace*     pDestCS,
                        [in]                   PXC_RenderingIntent  nRenderIntent,
                        [in, defaultvalue(0)]  VARIANT_BOOL         bBlackPointComp,
                        [out, retval]          IUnknown**           pTransform);

Parameters

pDestCS
[in] Pointer to IPXC_ColorSpace.
nRenderIntent
[in] Value of PXC_RenderingIntent.
bBlackPointComp
[in, defaultvalue(0)] Value of VARIANT_BOOL.
pTransform
[out, retval] Pointer to IUnknown*.

Return Value

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

See Also

IPXC_ColorSpace