TextParagraph
Source: aspose.
Represents the text paragraph setting.
Methods
Methods
getAlignmentType()
Gets and sets the text horizontal alignment type of the paragraph. The value of the property is TextAlignmentType integer constant.
getBullet()
Gets the bullet.
getChildren()
Gets all text runs in this paragraph. If this paragraph is empty, return paragraph itself.
getDefaultTabSize()
Gets and sets the default size for a tab character within this paragraph.
getFirstLineIndent()
Specifies the indent size that will be applied to the first line of text in the paragraph.
getFont()
Returns the font of this object.
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()
Specifies the left margin of the paragraph.
getLength()
Gets the length of the characters.
getLineSpace()
Gets and sets the amount of vertical white space that will be used within a paragraph.
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()
Specifies the right margin of the paragraph.
getSpaceAfter()
Gets and sets the amount of vertical white space that will be present after a paragraph.
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()
Gets and sets the amount of vertical white space that will be present before a paragraph.
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()
Gets the start index of the characters.
getStops()
Gets tab stop list.
getTextOptions()
Returns the text options.
getType()
Gets the type of text node. The value of the property is TextNodeType integer constant.
isEastAsianLineBreak()
Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added.
isHangingPunctuation()
Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text.
isLatinLineBreak()
Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added.
setAlignmentType()
Gets and sets the text horizontal alignment type of the paragraph. The value of the property is TextAlignmentType integer constant.
setDefaultTabSize()
Gets and sets the default size for a tab character within this paragraph.
setEastAsianLineBreak()
Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added.
setFirstLineIndent()
Specifies the indent size that will be applied to the first line of text in the paragraph.
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()
Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text.
setLatinLineBreak()
Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added.
setLeftMargin()
Specifies the left margin of the paragraph.
setLineSpace()
Gets and sets the amount of vertical white space that will be used within a paragraph.
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()
Specifies the right margin of the paragraph.
setSpaceAfter()
Gets and sets the amount of vertical white space that will be present after a paragraph.
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()
Gets and sets the amount of vertical white space that will be present before a paragraph.
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)
Sets the preset WordArt style. Only for the text of shape/chart.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
style |
Number |
|
PresetWordArtStyle |