IUIX_Inst::CreateColor Method
From PDF XChange PDF SDK
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.