Replaces all entries of matchString text with newValue text 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,
	string newValue,
	bool caseSensitive,
	bool wholeWord
)
Public Function ReplaceInLine ( 
	matchString As String,
	newValue As String,
	caseSensitive As Boolean,
	wholeWord As Boolean
) As Integer
public:
virtual int ReplaceInLine(
	String^ matchString, 
	String^ newValue, 
	bool caseSensitive, 
	bool wholeWord
) sealed
abstract ReplaceInLine : 
        matchString : string * 
        newValue : string * 
        caseSensitive : bool * 
        wholeWord : bool -> int 
override ReplaceInLine : 
        matchString : string * 
        newValue : string * 
        caseSensitive : bool * 
        wholeWord : bool -> int 

Parameters

matchString
String
The matchString.
newValue
String
The newValue.
caseSensitive
Boolean
wholeWord
Boolean
if it specifies only whole word will be replaced, set to true.

Return Value

Int32

Implements

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

See Also