# VisualTreeText class

Namespace: [Grasshopper2.Data](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.data.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class VisualTreeText
```

A string with very limited character support for drawing labels in visual tree nodes.

## Properties

- [Bounds](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.visualtreetext/bounds.md): Gets the width of this symbol.

## Methods

- [Centre](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.visualtreetext/centre.md): Move the text so that it is centred on the given point.
- [Create](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.visualtreetext/create.md): (static) Create a new tree diagram text.
- [DebugDump](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.visualtreetext/debugdump.md)
- [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.visualtreetext/draw.md): Draw this text with the given pen.
