Paragraph
Replace Method (Regex, TextSelection)
|
Namespace:
Spire.Doc.Documents
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public override int Replace(
Regex pattern,
TextSelection textSelection
)
Public Overrides Function Replace (
pattern As Regex,
textSelection As TextSelection
) As Integer
public:
virtual int Replace(
Regex^ pattern,
TextSelection^ textSelection
) override
abstract Replace :
pattern : Regex *
textSelection : TextSelection -> int
override Replace :
pattern : Regex *
textSelection : TextSelection -> int
Parameters
-
pattern
-
Type:
System.Text.RegularExpressions
Regex
-
textSelection
-
Type:
Spire.Doc.Documents
TextSelection
Return Value
Type:
Int32
Implements
IBodyRegion
Replace(Regex, TextSelection)
IBodyRegion
Replace(Regex, TextSelection)
See Also