ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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.

In This Topic
    SetDrawingEffect(Brush,TextRange) Method
    In This Topic
    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