IUIX_Inst::CreateNewBrush Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Inst::CreateNewBrush Method}}
 
{{#customTitle:IUIX_Inst::CreateNewBrush Method}}
 +
{{#parentPage:PXV:IUIX_Inst#Methods|CreateNewBrush|method}}
  
The method of interface of PDF-XChange Editor SDK.
+
 
 +
Creates new object of [[PXV:IUIX_Brush|IUIX_Brush]] interface.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateNewBrush([in, defaultvalue(UIX_BrushType_Solid)] UIX_BrushType nType, [out, retval] IUIX_Brush** ppBrush);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreateNewBrush([in, defaultvalue(UIX_BrushType_Solid)] UIX_BrushType nType,
 +
                      [out, retval]                           IUIX_Brush**   pBrush);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nType''
+
;nType
:[in, defaultvalue(UIX_BrushType_Solid)]  Value of [[PXV:UIX_BrushType|UIX_BrushType]].
+
:[in, defaultvalue(UIX_BrushType_Solid)]  specifies brush type with flags from [[PXV:UIX_BrushType|UIX_BrushType]] enumeration.
;''ppBrush''
+
;pBrush
:[out, retval]  Pointer to [[PXV:IUIX_Brush|IUIX_Brush]].
+
:[out, retval]  return object of [[PXV:IUIX_Brush|IUIX_Brush]] interface.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.  
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Inst|IUIX_Inst]].
+
[[PXV:IUIX_Inst|IUIX_Inst]]

Latest revision as of 10:03, 16 June 2015


Creates new object of IUIX_Brush interface.

Syntax

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

Parameters

nType
[in, defaultvalue(UIX_BrushType_Solid)] specifies brush type with flags from UIX_BrushType enumeration.
pBrush
[out, retval] return object of IUIX_Brush interface.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IUIX_Inst