Replaces text in DOM nodes.
Text to find in DOM nodes.
Text to replace with in DOM nodes.
If True it performs a case-insensitive search.
Replaces text in DOM nodes.
Visual Basic |
---|
Public Sub ReplaceText( _ ByVal Find As String, _ ByVal Replace As String, _ ByVal IgnoreCase As Boolean _ ) |
Text to find in DOM nodes.
Text to replace with in DOM nodes.
If True it performs a case-insensitive search.
Internally the text is searched and replaced over a Tree Walker.
Private Sub mnuReplaceText_Click() On Error Resume Next WebKitX1.ReplaceText "fox", "cat", True Err.Clear End Sub
private void menuItemReplaceText_Click(object sender, EventArgs e) { WebKitXCEF31.ReplaceText("fox", "cat", true); }