
## TextParagraph class

Represents the text paragraph setting.

## Methods

| Name | Description |
| --- | --- |
| [getAlignmentType()](#getalignmenttype) | Gets and sets the text horizontal alignment type of the paragraph. The value of the property is TextAlignmentType intege |
| [getBullet()](#getbullet) | Gets the bullet. |
| [getChildren()](#getchildren) | Gets all text runs in this paragraph. If this paragraph is empty, return paragraph itself. |
| [getDefaultTabSize()](#getdefaulttabsize) | Gets and sets the default size for a tab character within this paragraph. |
| [getFirstLineIndent()](#getfirstlineindent) | Specifies the indent size that will be applied to the first line of text in the paragraph. |
| [getFont()](#getfont) | Returns the font of this object. |
| [getFontAlignType()](#getfontaligntype) | Determines where vertically on a line of text the actual words are positioned. This deals with vertical placement of the |
| [getLeftMargin()](#getleftmargin) | Specifies the left margin of the paragraph. |
| [getLength()](#getlength) | Gets the length of the characters. |
| [getLineSpace()](#getlinespace) | Gets and sets the amount of vertical white space that will be used within a paragraph. |
| [getLineSpaceSizeType()](#getlinespacesizetype) | Gets and sets the amount of vertical white space that will be used within a paragraph. The value of the property is Line |
| [getRightMargin()](#getrightmargin) | Specifies the right margin of the paragraph. |
| [getSpaceAfter()](#getspaceafter) | Gets and sets the amount of vertical white space that will be present after a paragraph. |
| [getSpaceAfterSizeType()](#getspaceaftersizetype) | Gets and sets the amount of vertical white space that will be present after a paragraph. The value of the property is Li |
| [getSpaceBefore()](#getspacebefore) | Gets and sets the amount of vertical white space that will be present before a paragraph. |
| [getSpaceBeforeSizeType()](#getspacebeforesizetype) | Gets and sets the amount of vertical white space that will be present before a paragraph. The value of the property is L |
| [getStartIndex()](#getstartindex) | Gets the start index of the characters. |
| [getStops()](#getstops) | Gets tab stop list. |
| [getTextOptions()](#gettextoptions) | Returns the text options. |
| [getType()](#gettype) | Gets the type of text node. The value of the property is TextNodeType integer constant. |
| [isEastAsianLineBreak()](#iseastasianlinebreak) | Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added. |
| [isHangingPunctuation()](#ishangingpunctuation) | Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text. |
| [isLatinLineBreak()](#islatinlinebreak) | Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added. |
| [setAlignmentType()](#setalignmenttype) | Gets and sets the text horizontal alignment type of the paragraph. The value of the property is TextAlignmentType intege |
| [setDefaultTabSize()](#setdefaulttabsize) | Gets and sets the default size for a tab character within this paragraph. |
| [setEastAsianLineBreak()](#seteastasianlinebreak) | Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added. |
| [setFirstLineIndent()](#setfirstlineindent) | Specifies the indent size that will be applied to the first line of text in the paragraph. |
| [setFontAlignType()](#setfontaligntype) | Determines where vertically on a line of text the actual words are positioned. This deals with vertical placement of the |
| [setHangingPunctuation()](#sethangingpunctuation) | Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text. |
| [setLatinLineBreak()](#setlatinlinebreak) | Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added. |
| [setLeftMargin()](#setleftmargin) | Specifies the left margin of the paragraph. |
| [setLineSpace()](#setlinespace) | Gets and sets the amount of vertical white space that will be used within a paragraph. |
| [setLineSpaceSizeType()](#setlinespacesizetype) | Gets and sets the amount of vertical white space that will be used within a paragraph. The value of the property is Line |
| [setRightMargin()](#setrightmargin) | Specifies the right margin of the paragraph. |
| [setSpaceAfter()](#setspaceafter) | Gets and sets the amount of vertical white space that will be present after a paragraph. |
| [setSpaceAfterSizeType()](#setspaceaftersizetype) | Gets and sets the amount of vertical white space that will be present after a paragraph. The value of the property is Li |
| [setSpaceBefore()](#setspacebefore) | Gets and sets the amount of vertical white space that will be present before a paragraph. |
| [setSpaceBeforeSizeType()](#setspacebeforesizetype) | Gets and sets the amount of vertical white space that will be present before a paragraph. The value of the property is L |
| [setWordArtStyle(style)](#setwordartstyle) | Sets the preset WordArt style. Only for the text of shape/chart. |

### getAlignmentType() {#getalignmenttype}

Gets and sets the text horizontal alignment type of the paragraph. The value of the property is TextAlignmentType integer constant.

### getBullet() {#getbullet}

Gets the bullet.

### getChildren() {#getchildren}

Gets all text runs in this paragraph. If this paragraph is empty, return paragraph itself.

### getDefaultTabSize() {#getdefaulttabsize}

Gets and sets the default size for a tab character within this paragraph.

### getFirstLineIndent() {#getfirstlineindent}

Specifies the indent size that will be applied to the first line of text in the paragraph.

### getFont() {#getfont}

Returns the font of this object.

### getFontAlignType() {#getfontaligntype}

Determines where vertically on a line of text the actual words are positioned. This deals with vertical placement of the characters with respect to the baselines. The value of the property is TextFontAlignType integer constant.

### getLeftMargin() {#getleftmargin}

Specifies the left margin of the paragraph.

### getLength() {#getlength}

Gets the length of the characters.

### getLineSpace() {#getlinespace}

Gets and sets the amount of vertical white space that will be used within a paragraph.

### getLineSpaceSizeType() {#getlinespacesizetype}

Gets and sets the amount of vertical white space that will be used within a paragraph. The value of the property is LineSpaceSizeType integer constant.

### getRightMargin() {#getrightmargin}

Specifies the right margin of the paragraph.

### getSpaceAfter() {#getspaceafter}

Gets and sets the amount of vertical white space that will be present after a paragraph.

### getSpaceAfterSizeType() {#getspaceaftersizetype}

Gets and sets the amount of vertical white space that will be present after a paragraph. The value of the property is LineSpaceSizeType integer constant.

### getSpaceBefore() {#getspacebefore}

Gets and sets the amount of vertical white space that will be present before a paragraph.

### getSpaceBeforeSizeType() {#getspacebeforesizetype}

Gets and sets the amount of vertical white space that will be present before a paragraph. The value of the property is LineSpaceSizeType integer constant.

### getStartIndex() {#getstartindex}

Gets the start index of the characters.

### getStops() {#getstops}

Gets tab stop list.

### getTextOptions() {#gettextoptions}

Returns the text options.

### getType() {#gettype}

Gets the type of text node. The value of the property is TextNodeType integer constant.

### isEastAsianLineBreak() {#iseastasianlinebreak}

Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added.

### isHangingPunctuation() {#ishangingpunctuation}

Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text.

### isLatinLineBreak() {#islatinlinebreak}

Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added.

### setAlignmentType() {#setalignmenttype}

Gets and sets the text horizontal alignment type of the paragraph. The value of the property is TextAlignmentType integer constant.

### setDefaultTabSize() {#setdefaulttabsize}

Gets and sets the default size for a tab character within this paragraph.

### setEastAsianLineBreak() {#seteastasianlinebreak}

Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added.

### setFirstLineIndent() {#setfirstlineindent}

Specifies the indent size that will be applied to the first line of text in the paragraph.

### setFontAlignType() {#setfontaligntype}

Determines where vertically on a line of text the actual words are positioned. This deals with vertical placement of the characters with respect to the baselines. The value of the property is TextFontAlignType integer constant.

### setHangingPunctuation() {#sethangingpunctuation}

Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text.

### setLatinLineBreak() {#setlatinlinebreak}

Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added.

### setLeftMargin() {#setleftmargin}

Specifies the left margin of the paragraph.

### setLineSpace() {#setlinespace}

Gets and sets the amount of vertical white space that will be used within a paragraph.

### setLineSpaceSizeType() {#setlinespacesizetype}

Gets and sets the amount of vertical white space that will be used within a paragraph. The value of the property is LineSpaceSizeType integer constant.

### setRightMargin() {#setrightmargin}

Specifies the right margin of the paragraph.

### setSpaceAfter() {#setspaceafter}

Gets and sets the amount of vertical white space that will be present after a paragraph.

### setSpaceAfterSizeType() {#setspaceaftersizetype}

Gets and sets the amount of vertical white space that will be present after a paragraph. The value of the property is LineSpaceSizeType integer constant.

### setSpaceBefore() {#setspacebefore}

Gets and sets the amount of vertical white space that will be present before a paragraph.

### setSpaceBeforeSizeType() {#setspacebeforesizetype}

Gets and sets the amount of vertical white space that will be present before a paragraph. The value of the property is LineSpaceSizeType integer constant.

### setWordArtStyle(style) {#setwordartstyle}

Sets the preset WordArt style. Only for the text of shape/chart.

| Parameter | Type | Description |
| --- | --- | --- |
| style | Number | PresetWordArtStyle |
