
## MsoTextFrame class

Represents the text frame in a Shape object.

```javascript
class MsoTextFrame;
```


## Properties

| Property | 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 |


### autoSize {#autoSize--}

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

```javascript
autoSize : boolean;
```


### isAutoMargin {#isAutoMargin--}

Indicates whether the margin is auto calculated.

```javascript
isAutoMargin : boolean;
```


### rotateTextWithShape {#rotateTextWithShape--}

Indicates whether rotating text with shape.

```javascript
rotateTextWithShape : boolean;
```


### leftMarginPt {#leftMarginPt--}

Returns the left margin in unit of Points

```javascript
leftMarginPt : number;
```


### rightMarginPt {#rightMarginPt--}

Returns the right margin in unit of Points

```javascript
rightMarginPt : number;
```


### topMarginPt {#topMarginPt--}

Returns the top margin in unit of Points

```javascript
topMarginPt : number;
```


### bottomMarginPt {#bottomMarginPt--}

Returns the bottom margin in unit of Points

```javascript
bottomMarginPt : number;
```



