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 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_PageRenderParams::SetColor Method}}
 
{{#customTitle:IPXC_PageRenderParams::SetColor Method}}
{{#parentPage:PXV:IPXC_PageRenderParams|SetColor Method|method}}
+
{{#parentPage:PXV:IPXC_PageRenderParams#Methods|SetColor Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetColor([in] PXC_RenderColor  nColorID,
+
<pre class="brush:cpp;gutter:false">HRESULT SetColor([in]                     PXC_RenderColor  nColorID,
                 [in] INT              cRed,
+
                 [in]                     INT              cRed,
                 [in] INT              cGreen,
+
                 [in]                     INT              cGreen,
                 [in] INT              cBlue);</pre>
+
                 [in]                     INT              cBlue,
 +
                [in, defaultvalue(255)]  INT              cAlpha);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 23: Line 24:
 
;cBlue
 
;cBlue
 
:[in]  Value of INT.
 
:[in]  Value of INT.
 +
;cAlpha
 +
:[in, defaultvalue(255)]  Value of INT.
  
 
== Return Value ==
 
== Return Value ==
Line 28: Line 31:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXC_PageRenderParams|IPXC_PageRenderParams]].
+
[[PXV:IPXC_PageRenderParams|IPXC_PageRenderParams]]

Revision as of 12:46, 21 May 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,
                 [in, defaultvalue(255)]  INT              cAlpha);

Parameters

nColorID
[in] Value of PXC_RenderColor.
cRed
[in] Value of INT.
cGreen
[in] Value of INT.
cBlue
[in] Value of INT.
cAlpha
[in, defaultvalue(255)] Value of INT.

Return Value

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

See Also

IPXC_PageRenderParams