IUIX_Inst::CreateColor Method

From PDF XChange PDF SDK
Revision as of 04:42, 23 May 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

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

IUIX_Inst