IUIX_Inst::CreateColor Method

From PDF XChange PDF SDK
Revision as of 06:56, 18 May 2015 by Oleh (Talk | contribs)

Jump to: navigation, search


Creates new object of IColor interface (color).

Syntax

HRESULT CreateColor([in, defaultvalue(ColorType_RGB)]  ColorType  nColorType,
                    [out, retval]                      IColor**   ppColor);

Parameters

nColorType
[in, defaultvalue(ColorType_RGB)] Color type value from ColorType enumeration.
ppColor
[out, retval] return object of IColor interace.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IUIX_Inst.