IPXC_PageRenderParams::SetColor Method
From PDF XChange PDF SDK
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 | + | <pre class="brush:cpp;gutter:false">HRESULT SetColor([in] PXC_RenderColor ColorID, |
− | [in] INT | + | [in] INT cRed, |
− | [in] INT | + | [in] INT cGreen, |
− | [in] INT | + | [in] INT cBlue, |
− | [in, defaultvalue(255)] INT | + | [in, defaultvalue(255)] INT cAlpha);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;ColorID |
:[in] Value of [[PXV:PXC_RenderColor|PXC_RenderColor]]. | :[in] Value of [[PXV:PXC_RenderColor|PXC_RenderColor]]. | ||
− | ; | + | ;cRed |
:[in] Value of INT. | :[in] Value of INT. | ||
− | ; | + | ;cGreen |
:[in] Value of INT. | :[in] Value of INT. | ||
− | ; | + | ;cBlue |
:[in] Value of INT. | :[in] Value of INT. | ||
− | ; | + | ;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.