TextParagraph class
TextParagraph class
Represents the text paragraph setting.
Inheritance: TextParagraph →
FontSetting
The TextParagraph type exposes the following members:
Properties
| Property | Description |
|---|---|
| type | Gets the type of text node. |
| start_index | Gets the start index of the characters. |
| length | Gets the length of the characters. |
| font | Returns the font of this object. |
| text_options | Returns the text options. |
| bullet | Gets the bullet. |
| line_space_size_type | Gets and sets the amount of vertical white space that will be used within a paragraph. |
| line_space | Gets and sets the amount of vertical white space that will be used within a paragraph. |
| space_after_size_type | Gets and sets the amount of vertical white space that will be present after a paragraph. |
| space_after | Gets and sets the amount of vertical white space that will be present after a paragraph. |
| space_before_size_type | Gets and sets the amount of vertical white space that will be present before a paragraph. |
| space_before | Gets and sets the amount of vertical white space that will be present before a paragraph. |
| stops | Gets tab stop list. |
| is_latin_line_break | Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added. |
| is_east_asian_line_break | Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added. |
| is_hanging_punctuation | Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text. |
| right_margin | Specifies the right margin of the paragraph. |
| left_margin | Specifies the left margin of the paragraph. |
| first_line_indent | Specifies the indent size that will be applied to the first line of text in the paragraph. |
| font_align_type | 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. |
| alignment_type | Gets and sets the text horizontal alignment type of the paragraph. |
| default_tab_size | Gets and sets the default size for a tab character within this paragraph. |
| children | Gets all text runs in this paragraph. If this paragraph is empty, return paragraph itself. |
Methods
| Method | Description |
|---|---|
set_word_art_style(self, style) | Sets the preset WordArt style. |
See Also
- module
aspose.cells.drawing.texts - class
FontSetting - class
TextParagraph