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)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_ColorSpace::ConvertToGray Method}}
 
{{#customTitle:IPXC_ColorSpace::ConvertToGray Method}}
{{#parentPage:PXV:IPXC_ColorSpace|method}}
+
{{#parentPage:PXV:IPXC_ColorSpace#Methods|ConvertToGray|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT ConvertToGray([in] double* pSrc, [in] double* pDest, [in] PXC_RenderingIntent RenderIntent, [in] ULONG numSamples);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT ConvertToGray([in] double*             pSrc,
 +
                      [in] double*             pDest,
 +
                      [in] PXC_RenderingIntent nRenderIntent,
 +
                      [in] ULONG               nNumSamples);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pSrc''
+
;pSrc
 
:[in]  Pointer to double.
 
:[in]  Pointer to double.
;''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 24: Line 28:
  
 
== See Also ==
 
== 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