Calc .NET Class Library
Show/Hide TOC

# FindResultReplace(AttributedText) Method

Replaces the matched text with the specified span. The text before and after the match keeps its formatting.

## Definition

Namespace: Independentsoft.Office.Odf
Assembly: Independentsoft.Calc (in Independentsoft.Calc.dll) Version: 3.0.520.1+c6c593d5629a051e0af021b238c5d69d764f9686
C#

    public bool Replace(
    	AttributedText attributedText
    )

VB

    Public Function Replace (
    	attributedText As AttributedText
    ) As Boolean

#### Parameters

attributedText AttributedText
  The AttributedText that replaces the matched text.

#### Return Value

Boolean
true if the text was replaced.

## See Also

#### Reference

FindResult Class
Replace Overload
Independentsoft.Office.Odf Namespace