IUIX_Inst::CreateNewBrush Method

From PDF XChange PDF SDK
Jump to: navigation, search
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}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
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)]  Value of [[PXV:UIX_BrushType|UIX_BrushType]].
+
:[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]  Pointer to [[PXV:IUIX_Brush|IUIX_Brush]].
+
:[out, retval]  return object of [[PXV:IUIX_Brush|IUIX_Brush]] interface.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 09: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.

See Also

IUIX_Inst.