A Sandcastle Documented Class Library
DocxDocumentReplaceText Method (String, String, Boolean) |
Replace text into the document, regex allowed
Namespace: QsGemBox.Docx
Assembly: QsGemBox (in QsGemBox.dll) Version: 22.4.2.0 (22.4.2.0)
Syntax
public int ReplaceText( string textFind, string textReplace, bool regex )
Public Function ReplaceText ( textFind As String, textReplace As String, regex As Boolean ) As Integer
public: int ReplaceText( String^ textFind, String^ textReplace, bool regex )
member ReplaceText : textFind : string * textReplace : string * regex : bool -> int
Parameters
- textFind
- Type: SystemString
The text find. - textReplace
- Type: SystemString
The text replace. - regex
- Type: SystemBoolean
if set to true [regex].
Return Value
Type: Int32System.Int32.
See Also