IColor::GetValue Method

From PDF XChange PDF SDK
Jump to: navigation, search


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.

See Also

IColor