
## MsoTextFrame class

Represents the text frame in a Shape object.

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [AutoSize](#autosize) | boolean | Indicates if size of shape is adjusted automatically according to its content. |
| [IsAutoMargin](#isautomargin) | boolean | Indicates whether the margin is auto calculated. |
| [RotateTextWithShape](#rotatetextwithshape) | boolean | Indicates whether rotating text with shape. |
| [LeftMarginPt](#leftmarginpt) | Number | Returns the left margin in unit of Points |
| [RightMarginPt](#rightmarginpt) | Number | Returns the right margin in unit of Points |
| [TopMarginPt](#topmarginpt) | Number | Returns the top margin in unit of Points |
| [BottomMarginPt](#bottommarginpt) | Number | Returns the bottom margin in unit of Points |

### MsoTextFrame.AutoSize property {#autosize}

Indicates if size of shape is adjusted automatically according to its content.

**Type:** boolean

### MsoTextFrame.IsAutoMargin property {#isautomargin}

Indicates whether the margin is auto calculated.

**Type:** boolean

### MsoTextFrame.RotateTextWithShape property {#rotatetextwithshape}

Indicates whether rotating text with shape.

**Type:** boolean

### MsoTextFrame.LeftMarginPt property {#leftmarginpt}

Returns the left margin in unit of Points

**Type:** Number

### MsoTextFrame.RightMarginPt property {#rightmarginpt}

Returns the right margin in unit of Points

**Type:** Number

### MsoTextFrame.TopMarginPt property {#topmarginpt}

Returns the top margin in unit of Points

**Type:** Number

### MsoTextFrame.BottomMarginPt property {#bottommarginpt}

Returns the bottom margin in unit of Points

**Type:** Number
