IPXC_ColorSpace::ConvertToGray Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_ColorSpace::ConvertToGray Method}}
 
{{#customTitle:IPXC_ColorSpace::ConvertToGray Method}}
{{#parentPage:PXV:IPXC_ColorSpace|ConvertToGray Method|method}}
+
{{#parentPage:PXV:IPXC_ColorSpace#Methods|ConvertToGray|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 11: Line 11:
 
<pre class="brush:cpp;gutter:false">HRESULT ConvertToGray([in]  double*              pSrc,
 
<pre class="brush:cpp;gutter:false">HRESULT ConvertToGray([in]  double*              pSrc,
 
                       [in]  double*              pDest,
 
                       [in]  double*              pDest,
                       [in]  PXC_RenderingIntent  RenderIntent,
+
                       [in]  PXC_RenderingIntent  nRenderIntent,
                       [in]  ULONG                numSamples);</pre>
+
                       [in]  ULONG                nNumSamples);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 19: Line 19:
 
;pDest
 
;pDest
 
:[in]  Pointer to double.
 
:[in]  Pointer to double.
;RenderIntent
+
;nRenderIntent
 
:[in]  Value of [[PXV:PXC_RenderingIntent|PXC_RenderingIntent]].
 
:[in]  Value of [[PXV:PXC_RenderingIntent|PXC_RenderingIntent]].
;numSamples
+
;nNumSamples
 
:[in]  Value of ULONG.
 
:[in]  Value of ULONG.
  
Line 28: Line 28:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXC_ColorSpace|IPXC_ColorSpace]].
+
[[PXV:IPXC_ColorSpace|IPXC_ColorSpace]]

Latest revision as of 11:52, 11 January 2016


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT ConvertToGray([in]  double*              pSrc,
                      [in]  double*              pDest,
                      [in]  PXC_RenderingIntent  nRenderIntent,
                      [in]  ULONG                nNumSamples);

Parameters

pSrc
[in] Pointer to double.
pDest
[in] Pointer to double.
nRenderIntent
[in] Value of PXC_RenderingIntent.
nNumSamples
[in] Value of ULONG.

Return Value

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

See Also

IPXC_ColorSpace