| 
Document
ReplaceInLine Method (String, TextSelection, Boolean, Boolean)
  | 
 Replaces the matchString text with matchSelection in single-line mode.
 Namespace:
 Spire.Doc
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public int ReplaceInLine(
	string matchString,
	TextSelection matchSelection,
	bool caseSensitive,
	bool wholeWord
)
 
Public Function ReplaceInLine ( 
	matchString As String,
	matchSelection As TextSelection,
	caseSensitive As Boolean,
	wholeWord As Boolean
) As Integer
 
public:
virtual int ReplaceInLine(
	String^ matchString, 
	TextSelection^ matchSelection, 
	bool caseSensitive, 
	bool wholeWord
) sealed
 
abstract ReplaceInLine : 
matchString : string * 
matchSelection : TextSelection * 
caseSensitive : bool * 
wholeWord : bool -> int 
override ReplaceInLine : 
matchString : string * 
matchSelection : TextSelection * 
caseSensitive : bool * 
wholeWord : bool -> int 
 
 
 
Parameters
 
- 
matchString
 
- 
 Type:
 
System
String
 
 The matchString.
- 
matchSelection
 
- 
 Type:
 
Spire.Doc.Documents
TextSelection
 
 The matchSelection.
- 
caseSensitive
 
- 
 Type:
 
System
Boolean
 
 if it is case sensitive newValue, set to
 
true
 
 .
- 
wholeWord
 
- 
 Type:
 
System
Boolean
 
 if it replaces only whole word, set to
 
true
 
 .
Return Value
 
 Type:
 
Int32
 
Implements
 
IDocument
ReplaceInLine(String, TextSelection, Boolean, Boolean)
 
 
 See Also
See Also