Paragraph class
Contents
[
Hide
]Paragraph class
Represents a paragraph of text.
The Paragraph type exposes the following members:
Constructors
| Constructor | Description | 
|---|---|
| __init__ | Initializes a new instance of the Paragraph class with default properties. | 
| __init__ | Copy constructor that initializes a new instance of a Paragraph class. | 
Properties
| Property | Description | 
|---|---|
| portions | Returns the collection of a text portions. Read-only IPortionCollection. | 
| paragraph_format | Returns the formatting object for this paragraph. Read-only IParagraphFormat. | 
| text | Gets or sets the the plain text of a paragraph. Read/write str. | 
| end_paragraph_portion_format | Specifies the portion properties that are to be used if another portion is inserted after the last one. | 
| slide | |
| presentation | 
Methods
| Method | Description | 
|---|---|
| join_portions_with_same_formatting | Joins runs with same formatting. | 
| get_rect | Get coordinates of rect that bounds paragraph. The rect includes all the lines of text in paragraph, including empty ones. | 
| get_lines_count | Get number of lines in a paragraph. | 
See Also
- module aspose.slides
- library Aspose.Slides