## Text.ReplaceWholeText method

Replaces the text of the current node and all logically-adjacent text nodes with the specified text. All logically-adjacent text nodes are removed including the current node unless it was the recipient of the replacement text.

```csharp
public Text ReplaceWholeText(string content)
```

| Parameter | Type | Description |
| --- | --- | --- |
| content | String | The content. |

### Return Value

The [`Text`](../).

### See Also

* class [Text](../)
* namespace [Aspose.Html.Dom](../../../aspose.html.dom/)
* assembly [Aspose.HTML](../../../)
