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 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  ColorID,
                 [in]                    INT              nRed,
+
                 [in]                    INT              cRed,
                 [in]                    INT              nGreen,
+
                 [in]                    INT              cGreen,
                 [in]                    INT              nBlue,
+
                 [in]                    INT              cBlue,
                 [in, defaultvalue(255)]  INT              nAlpha);</pre>
+
                 [in, defaultvalue(255)]  INT              cAlpha);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nColorID
+
;ColorID
 
:[in]  Value of [[PXV:PXC_RenderColor|PXC_RenderColor]].
 
:[in]  Value of [[PXV:PXC_RenderColor|PXC_RenderColor]].
;nRed
+
;cRed
 
:[in]  Value of INT.
 
:[in]  Value of INT.
;nGreen
+
;cGreen
 
:[in]  Value of INT.
 
:[in]  Value of INT.
;nBlue
+
;cBlue
 
:[in]  Value of INT.
 
:[in]  Value of INT.
;nAlpha
+
;cAlpha
 
:[in, defaultvalue(255)]  Value of INT.
 
:[in, defaultvalue(255)]  Value of INT.
  

Revision as of 06:09, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetColor([in]                     PXC_RenderColor  ColorID,
                 [in]                     INT              cRed,
                 [in]                     INT              cGreen,
                 [in]                     INT              cBlue,
                 [in, defaultvalue(255)]  INT              cAlpha);

Parameters

ColorID
[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