Replaces the matchString text with matchSelection in single-line mode.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
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
String
The matchString.
matchSelection
TextSelection
The matchSelection.
caseSensitive
Boolean
if it is case sensitive newValue, set to true.
wholeWord
Boolean
if it replaces only whole word, set to true.

Return Value

Int32

Implements

IDocument..::..ReplaceInLine(String, TextSelection, Boolean, Boolean)

See Also