| DocxDocumentReplaceText Method (String, String, Boolean) |
Replace text into the document, regex allowed
Namespace:
QsGemBox.Docx
Assembly:
QsGemBox (in QsGemBox.dll) Version: 24.6.0.0 (24.6.0.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