SetDrawingEffect(Brush,TextRange) Method
Sets the application-defined drawing effect.
'Declaration
Public Overloads Sub SetDrawingEffect( _
ByVal As Brush, _
ByVal As TextRange _
)
public void SetDrawingEffect(
Brush ,
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.