IPXC_PageRenderParams::GetColor Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_PageRenderParams::GetColor Method}}
 
{{#customTitle:IPXC_PageRenderParams::GetColor Method}}
{{#parentPage:PXV:IPXC_PageRenderParams|GetColor Method|method}}
+
{{#parentPage:PXV:IPXC_PageRenderParams#Methods|GetColor|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 10: Line 10:
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT GetColor([in]  PXC_RenderColor  nColorID,
 
<pre class="brush:cpp;gutter:false">HRESULT GetColor([in]  PXC_RenderColor  nColorID,
                 [out]  INT*            pcRed,
+
                 [out]  INT*            nRed,
                 [out]  INT*            pcGreen,
+
                 [out]  INT*            nGreen,
                 [out]  INT*            pcBlue);</pre>
+
                 [out]  INT*            nBlue,
 +
                [out]  INT*            nAlpha);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;nColorID
 
;nColorID
 
:[in]  Value of [[PXV:PXC_RenderColor|PXC_RenderColor]].
 
:[in]  Value of [[PXV:PXC_RenderColor|PXC_RenderColor]].
;pcRed
+
;nRed
 
:[out]  Pointer to INT.
 
:[out]  Pointer to INT.
;pcGreen
+
;nGreen
 
:[out]  Pointer to INT.
 
:[out]  Pointer to INT.
;pcBlue
+
;nBlue
 +
:[out]  Pointer to INT.
 +
;nAlpha
 
:[out]  Pointer to INT.
 
:[out]  Pointer to INT.
  
Line 28: Line 31:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXC_PageRenderParams|IPXC_PageRenderParams]].
+
[[PXV:IPXC_PageRenderParams|IPXC_PageRenderParams]]

Latest revision as of 02:33, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT GetColor([in]   PXC_RenderColor  nColorID,
                 [out]  INT*             nRed,
                 [out]  INT*             nGreen,
                 [out]  INT*             nBlue,
                 [out]  INT*             nAlpha);

Parameters

nColorID
[in] Value of PXC_RenderColor.
nRed
[out] Pointer to INT.
nGreen
[out] Pointer to INT.
nBlue
[out] Pointer to INT.
nAlpha
[out] Pointer to INT.

Return Value

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

See Also

IPXC_PageRenderParams