IUIX_Inst::CreateColor Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
{{#customTitle:IUIX_Inst::CreateColor Method}} | {{#customTitle:IUIX_Inst::CreateColor Method}} | ||
{{#parentPage:PXV:IUIX_Inst#Methods|CreateColor|method}} | {{#parentPage:PXV:IUIX_Inst#Methods|CreateColor|method}} | ||
− | + | ||
Creates new object of [[PXV:IColor|IColor]] interface (''color''). | Creates new object of [[PXV:IColor|IColor]] interface (''color''). | ||
Line 18: | Line 18: | ||
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful or error code | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
[[PXV:IUIX_Inst|IUIX_Inst]] | [[PXV:IUIX_Inst|IUIX_Inst]] |
Latest revision as of 17:21, 15 June 2015
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.