IPXC_PageRenderParams::SetColor Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_PageRenderParams::SetColor Method}}
 
{{#customTitle:IPXC_PageRenderParams::SetColor Method}}
{{#parentPage:PXV:IPXC_PageRenderParams|method}}
+
{{#parentPage:PXV:IPXC_PageRenderParams|SetColor Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetColor([in] PXC_RenderColor nColorID, [in] INT cRed, [in] INT cGreen, [in] INT cBlue);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetColor([in] PXC_RenderColor nColorID,
 +
                [in] INT             cRed,
 +
                [in] INT             cGreen,
 +
                [in] INT             cBlue);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nColorID''
+
;nColorID
 
:[in]  Value of [[PXV:PXC_RenderColor|PXC_RenderColor]].
 
:[in]  Value of [[PXV:PXC_RenderColor|PXC_RenderColor]].
;''cRed''
+
;cRed
 
:[in]  Value of INT.
 
:[in]  Value of INT.
;''cGreen''
+
;cGreen
 
:[in]  Value of INT.
 
:[in]  Value of INT.
;''cBlue''
+
;cBlue
 
:[in]  Value of INT.
 
:[in]  Value of INT.
  

Revision as of 06:09, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetColor([in]  PXC_RenderColor  nColorID,
                 [in]  INT              cRed,
                 [in]  INT              cGreen,
                 [in]  INT              cBlue);

Parameters

nColorID
[in] Value of PXC_RenderColor.
cRed
[in] Value of INT.
cGreen
[in] Value of INT.
cBlue
[in] Value of INT.

Return Value

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

See Also

See also IPXC_PageRenderParams.