# DimensionStyle.TextFit enum

Namespace: [Rhino.DocObjects](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.docobjects.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public enum DimensionStyle.TextFit
```

Text display position inside or outside extension lines

## Values

| Name | Value | Description |
| --- | --- | --- |
| Auto | 0 | Auto - Display inside when space permits |
| TextInside | 1 | Force text inside extensions |
| TextRight | 2 | Force text outside to the right of extensions |
| TextLeft | 3 | Force text outside to the left of extensions |
| TextHintRight | 4 | Move text outside to the right of extensions when it won't fit inside |
| TextHintLeft | 5 | Move text outside to the left of extensions when it won't fit inside |
