ComponentOne Bitmap for UWP
SetDrawingEffect(Brush,TextRange) Method

C1.UWP.DX Assembly > C1.Util.DX.DirectWrite Namespace > TextLayout Class > SetDrawingEffect Method : SetDrawingEffect(Brush,TextRange) Method
The color or gradient brush.
The text range to which this change applies.
Sets the application-defined drawing effect.
Syntax
'Declaration
 
Public Overloads Sub SetDrawingEffect( _
   ByVal brush As Brush, _
   ByVal textRange As TextRange _
) 
public void SetDrawingEffect( 
   Brush brush,
   TextRange textRange
)

Parameters

brush
The color or gradient brush.
textRange
The text range to which this change applies.

Return Value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
See Also

Reference

TextLayout Class
TextLayout Members
Overload List