IUIX_Inst::CreateNewBrush Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateNewBrush([in, defaultvalue(UIX_BrushType_Solid)]  UIX_BrushType  nType,
+
<pre class="brush:cpp;gutter:false">HRESULT CreateNewBrush([in, defaultvalue(UIX_BrushType_Solid)]  UIX_BrushType  Type,
                       [out, retval]                            IUIX_Brush**  pBrush);</pre>
+
                       [out, retval]                            IUIX_Brush**  Brush);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nType
+
;Type
 
:[in, defaultvalue(UIX_BrushType_Solid)]  specifies brush type with flags from [[PXV:UIX_BrushType|UIX_BrushType]] enumeration.
 
:[in, defaultvalue(UIX_BrushType_Solid)]  specifies brush type with flags from [[PXV:UIX_BrushType|UIX_BrushType]] enumeration.
;pBrush
+
;Brush
 
:[out, retval]  return object of [[PXV:IUIX_Brush|IUIX_Brush]] interface.
 
:[out, retval]  return object of [[PXV:IUIX_Brush|IUIX_Brush]] interface.
  

Revision as of 07:51, 12 June 2015


Creates new object of IUIX_Brush interface.

Syntax

HRESULT CreateNewBrush([in, defaultvalue(UIX_BrushType_Solid)]  UIX_BrushType  Type,
                       [out, retval]                            IUIX_Brush**   Brush);

Parameters

Type
[in, defaultvalue(UIX_BrushType_Solid)] specifies brush type with flags from UIX_BrushType enumeration.
Brush
[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