IColor::GetValue Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
|||
(10 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IColor::GetValue Method}} | {{#customTitle:IColor::GetValue Method}} | ||
+ | {{#parentPage:PXV:IColor#Methods|GetValue|method}} | ||
+ | {{ToReview}} | ||
− | + | Gets each of the four possible values of the color. Should be used with the [[PXV:IColor_Type|Type]] property. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT GetValue([out] float* | + | <pre class="brush:cpp;gutter:false">HRESULT GetValue([out] float* nV0, |
+ | [out] float* nV1, | ||
+ | [out] float* nV2, | ||
+ | [out] float* nV3);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nV0 |
− | :[out] Pointer to float. | + | :[out] Pointer to float containing the 0 indexed color value. |
− | ; | + | ;nV1 |
− | :[out] Pointer to float. | + | :[out] Pointer to float containing the 1 indexed color value. |
− | ; | + | ;nV2 |
− | :[out] Pointer to float. | + | :[out] Pointer to float containing the 2 indexed color value. |
− | ; | + | ;nV3 |
− | :[out] Pointer to float. | + | :[out] Pointer to float containing the 3 indexed color value. |
== Return Value == | == Return Value == | ||
Line 21: | Line 27: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IColor|IColor]] |
Latest revision as of 03:25, 16 March 2017
Gets each of the four possible values of the color. Should be used with the Type property.
Syntax
HRESULT GetValue([out] float* nV0, [out] float* nV1, [out] float* nV2, [out] float* nV3);
Parameters
- nV0
- [out] Pointer to float containing the 0 indexed color value.
- nV1
- [out] Pointer to float containing the 1 indexed color value.
- nV2
- [out] Pointer to float containing the 2 indexed color value.
- nV3
- [out] Pointer to float containing the 3 indexed color value.
Return Value
Returns S_OK if operation was successful or error code in other cases.