## Document.CreateTextNode method

Creates a Text node given the specified string.

```csharp
public Text CreateTextNode(string data)
```

| Parameter | Type | Description |
| --- | --- | --- |
| data | String | The text data. |

### Return Value

The [`Text`](../../text/).

### See Also

* class [Text](../../text/)
* class [Document](../)
* namespace [Aspose.Svg.Dom](../../../aspose.svg.dom/)
* assembly [Aspose.SVG](../../../)
