# CachedTrimmedText class

Namespace: [Grasshopper2.Eto.Drawing](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.eto.drawing.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public class CachedTrimmedText
```

Caches a trimmed, left aligned piece of text.

## Constructors

- [CachedTrimmedText](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.cachedtrimmedtext/ctor.md)

## Properties

- [OriginalSize](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.cachedtrimmedtext/originalsize.md): Gets the size of the original text.
- [OriginalText](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.cachedtrimmedtext/originaltext.md): Gets the original piece of text.

## Methods

- [CreateOriginalMetrics](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.cachedtrimmedtext/createoriginalmetrics.md): Ensure that the OriginalSize is set based on a given font.
- [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.cachedtrimmedtext/draw.md): Draw this string into a frame.
