IPXC_PageRenderParams::GetColor 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 GetColor([in] PXC_RenderColor | + | <pre class="brush:cpp;gutter:false">HRESULT GetColor([in] PXC_RenderColor ColorID, |
− | [out] INT* | + | [out] INT* Red, |
− | [out] INT* | + | [out] INT* Green, |
− | [out] INT* | + | [out] INT* Blue, |
− | [out] INT* | + | [out] INT* Alpha);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;ColorID |
:[in] Value of [[PXV:PXC_RenderColor|PXC_RenderColor]]. | :[in] Value of [[PXV:PXC_RenderColor|PXC_RenderColor]]. | ||
− | ; | + | ;Red |
:[out] Pointer to INT. | :[out] Pointer to INT. | ||
− | ; | + | ;Green |
:[out] Pointer to INT. | :[out] Pointer to INT. | ||
− | ; | + | ;Blue |
:[out] Pointer to INT. | :[out] Pointer to INT. | ||
− | ; | + | ;Alpha |
:[out] Pointer to INT. | :[out] Pointer to INT. | ||
Revision as of 06:09, 12 June 2015
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT GetColor([in] PXC_RenderColor ColorID, [out] INT* Red, [out] INT* Green, [out] INT* Blue, [out] INT* Alpha);
Parameters
- ColorID
- [in] Value of PXC_RenderColor.
- Red
- [out] Pointer to INT.
- Green
- [out] Pointer to INT.
- Blue
- [out] Pointer to INT.
- Alpha
- [out] Pointer to INT.
Return Value
Returns S_OK if operation was successful or error code in other cases.