Replaces all entries with specified pattern 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(
	Regex pattern,
	string newValue
)
Public Function ReplaceInLine ( 
	pattern As Regex,
	newValue As String
) As Integer
public:
virtual int ReplaceInLine(
	Regex^ pattern, 
	String^ newValue
) sealed
abstract ReplaceInLine : 
        pattern : Regex * 
        newValue : string -> int 
override ReplaceInLine : 
        pattern : Regex * 
        newValue : string -> int 

Parameters

pattern
Regex
The pattern.
newValue
String
The newValue.

Return Value

Int32

Implements

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

See Also