IColor::GetCMYK Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IColor::GetCMYK Method}} | {{#customTitle:IColor::GetCMYK Method}} | ||
{{#parentPage:PXV:IColor#Methods|GetCMYK|method}} | {{#parentPage:PXV:IColor#Methods|GetCMYK|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets CMYK value of the color. | |
== Syntax == | == Syntax == | ||
Line 16: | Line 15: | ||
== Parameters == | == Parameters == | ||
;nC | ;nC | ||
− | :[out] Pointer to float. | + | :[out] Pointer to float containing the Cyan value of the color. Can vary between '''0''' and '''1'''. |
;nM | ;nM | ||
− | :[out] Pointer to float. | + | :[out] Pointer to float containing the Magenta value of the color. Can vary between '''0''' and '''1'''. |
;nY | ;nY | ||
− | :[out] Pointer to float. | + | :[out] Pointer to float containing the Yellow value of the color. Can vary between '''0''' and '''1'''. |
;nK | ;nK | ||
− | :[out] Pointer to float. | + | :[out] Pointer to float containing the Key(Black) value of the color. Can vary between '''0''' and '''1'''. |
== Return Value == | == Return Value == |
Latest revision as of 02:23, 16 March 2017
Gets CMYK value of the color.
Syntax
HRESULT GetCMYK([out] float* nC, [out] float* nM, [out] float* nY, [out] float* nK);
Parameters
- nC
- [out] Pointer to float containing the Cyan value of the color. Can vary between 0 and 1.
- nM
- [out] Pointer to float containing the Magenta value of the color. Can vary between 0 and 1.
- nY
- [out] Pointer to float containing the Yellow value of the color. Can vary between 0 and 1.
- nK
- [out] Pointer to float containing the Key(Black) value of the color. Can vary between 0 and 1.
Return Value
Returns S_OK if operation was successful or error code in other cases.