Replaces all entries of matchString regular expression with TextRangesHolder.
Namespace: Spire.DocAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public int Replace( Regex pattern, TextSelection textSelection )
Public Function Replace ( pattern As Regex, textSelection As TextSelection ) As Integer
public: virtual int Replace( Regex^ pattern, TextSelection^ textSelection ) sealed
abstract Replace : pattern : Regex * textSelection : TextSelection -> int override Replace : pattern : Regex * textSelection : TextSelection -> int