Document
Replace Method (String, IDocument, Boolean, Boolean)
|
Replaces the specified matchString.
Namespace:
Spire.Doc
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public int Replace(
string matchString,
IDocument matchDoc,
bool caseSensitive,
bool wholeWord
)
Public Function Replace (
matchString As String,
matchDoc As IDocument,
caseSensitive As Boolean,
wholeWord As Boolean
) As Integer
public:
int Replace(
String^ matchString,
IDocument^ matchDoc,
bool caseSensitive,
bool wholeWord
)
member Replace :
matchString : string *
matchDoc : IDocument *
caseSensitive : bool *
wholeWord : bool -> int
Parameters
-
matchString
-
Type:
System
String
The matchString.
-
matchDoc
-
Type:
Spire.Doc.Interface
IDocument
The newValue doc.
-
caseSensitive
-
Type:
System
Boolean
if it is case sensitive, set to
true
.
-
wholeWord
-
Type:
System
Boolean
if specifies whole word,set to
true
.
Return Value
Type:
Int32
See Also