# GH_TextFragment class

Namespace: [Grasshopper.GUI.Equations](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.equations.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_TextFragment : GH_EquationFragment
```

Represents a single piece of text in an equation.

## Properties

- [Description](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-textfragment/description.md)
- [Name](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-textfragment/name.md)
- [Text](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-textfragment/text.md)

## Methods

- [Layout](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-textfragment/layout.md)
- [Position](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-textfragment/position.md)
- [Render](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-textfragment/render.md)
- [ToExpression](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-textfragment/toexpression.md)

## Inherited Members

- From [GH_EquationFragment](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-equationfragment.md): [m_pivot](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-equationfragment/m-pivot.md), [m_size](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-equationfragment/m-size.md), [Bounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-equationfragment/bounds.md), [Icon](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-equationfragment/icon.md), [Pivot](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-equationfragment/pivot.md), [Size](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.equations.gh-equationfragment/size.md)
