# GC.Spread.Sheets.Shapes.IShapeTextFrame

## Content

# Interface: IShapeTextFrame

[Sheets](../modules/GC.Spread.Sheets).[Shapes](../modules/GC.Spread.Sheets.Shapes).IShapeTextFrame

## Table of contents

### Properties

- [hAlign](GC.Spread.Sheets.Shapes.IShapeTextFrame#halign)
- [resizeToFitText](GC.Spread.Sheets.Shapes.IShapeTextFrame#resizetofittext)
- [textDirection](GC.Spread.Sheets.Shapes.IShapeTextFrame#textdirection)
- [vAlign](GC.Spread.Sheets.Shapes.IShapeTextFrame#valign)

## Properties

### <a id="halign" name="halign"></a> hAlign

• `Optional` **hAlign**: `string` \| [`HorizontalAlign`](../enums/GC.Spread.Sheets.HorizontalAlign)

The text horizontal alignment, it is HorizontalAlign enum or formula(starts with =).

___

### <a id="resizetofittext" name="resizetofittext"></a> resizeToFitText

• `Optional` **resizeToFitText**: `string` \| `boolean`

Resize the shape to fit text size.

___

### <a id="textdirection" name="textdirection"></a> textDirection

• `Optional` **textDirection**: `string` \| [`TextDirection`](../enums/GC.Spread.Sheets.Shapes.TextDirection)

The text direction, it is TextDirection enum or formula(starts with =).

___

### <a id="valign" name="valign"></a> vAlign

• `Optional` **vAlign**: `string` \| [`VerticalAlign`](../enums/GC.Spread.Sheets.VerticalAlign)

The text vertical alignment, it is VerticalAlign enum or formula(starts with =).
