Replaces the specified matchString.
Namespace: Spire.DocAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
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
- String
The matchString.
- matchDoc
- IDocument
The newValue doc.
- caseSensitive
- Boolean
if it is case sensitive, set to true.
- wholeWord
- Boolean
if specifies whole word,set to true.