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** pColor);
Parameters
- nColorType
- [in, defaultvalue(ColorType_RGB)] Color type value from ColorType enumeration.
- pColor
- [out, retval] return object of IColor interace.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.