IUIX_Inst::CreateNewBrush Method

From PDF XChange PDF SDK
Jump to: navigation, search


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