IPXC_PageRenderParams::SetColor Method
From PDF XChange PDF SDK
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::SetColor Method}} | {{#customTitle:IPXC_PageRenderParams::SetColor Method}} | ||
− | {{#parentPage:PXV:IPXC_PageRenderParams|SetColor | + | {{#parentPage:PXV:IPXC_PageRenderParams#Methods|SetColor|method}} |
{{ToWrite}} | {{ToWrite}} | ||
{{ToReview}} | {{ToReview}} | ||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT SetColor([in] | + | <pre class="brush:cpp;gutter:false">HRESULT SetColor([in] PXC_RenderColor nColorID, |
− | [in] | + | [in] INT nRed, |
− | [in] | + | [in] INT nGreen, |
− | [in] INT | + | [in] INT nBlue, |
+ | [in, defaultvalue(255)] INT nAlpha);</pre> | ||
== Parameters == | == Parameters == | ||
;nColorID | ;nColorID | ||
:[in] Value of [[PXV:PXC_RenderColor|PXC_RenderColor]]. | :[in] Value of [[PXV:PXC_RenderColor|PXC_RenderColor]]. | ||
− | ; | + | ;nRed |
:[in] Value of INT. | :[in] Value of INT. | ||
− | ; | + | ;nGreen |
:[in] Value of INT. | :[in] Value of INT. | ||
− | ; | + | ;nBlue |
:[in] Value of INT. | :[in] Value of INT. | ||
+ | ;nAlpha | ||
+ | :[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]] |
Latest revision as of 02:33, 15 June 2015
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT SetColor([in] PXC_RenderColor nColorID, [in] INT nRed, [in] INT nGreen, [in] INT nBlue, [in, defaultvalue(255)] INT nAlpha);
Parameters
- nColorID
- [in] Value of PXC_RenderColor.
- nRed
- [in] Value of INT.
- nGreen
- [in] Value of INT.
- nBlue
- [in] Value of INT.
- nAlpha
- [in, defaultvalue(255)] Value of INT.
Return Value
Returns S_OK if operation was successful or error code in other cases.