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