IUIX_Inst::CreateNewBrush Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IUIX_Inst::CreateNewBrush Method}} | {{#customTitle:IUIX_Inst::CreateNewBrush Method}} | ||
{{#parentPage:PXV:IUIX_Inst|CreateNewBrush Method|method}} | {{#parentPage:PXV:IUIX_Inst|CreateNewBrush Method|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Creates new object of [[PXV:IUIX_Brush|IUIX_Brush]] interface. | |
== Syntax == | == Syntax == | ||
Line 14: | Line 13: | ||
== Parameters == | == Parameters == | ||
;nType | ;nType | ||
− | :[in, defaultvalue(UIX_BrushType_Solid)] | + | :[in, defaultvalue(UIX_BrushType_Solid)] specifies brush type. See [[PXV:UIX_BrushType|UIX_BrushType]] enumeration for full list of brush type flags. |
;ppBrush | ;ppBrush | ||
− | :[out, retval] | + | :[out, retval] return object of [[PXV:IUIX_Brush|IUIX_Brush]] interface. |
== Return Value == | == Return Value == |
Revision as of 08:03, 20 May 2015
Creates new object of IUIX_Brush interface.
Syntax
HRESULT CreateNewBrush([in, defaultvalue(UIX_BrushType_Solid)] UIX_BrushType nType, [out, retval] IUIX_Brush** ppBrush);
Parameters
- nType
- [in, defaultvalue(UIX_BrushType_Solid)] specifies brush type. See UIX_BrushType enumeration for full list of brush type flags.
- ppBrush
- [out, retval] return object of IUIX_Brush interface.
Return Value
Returns S_OK if operation was successful or error code in other cases.