Run
Overview
Run is a class in Aspose.Words FOSS for Python.
Inherits from: BaseModel, NodeCastMixin.
Run.text holds the literal text content of the run.
This class provides 8 methods for working with Run objects in Python programs.
Available methods include: as_body, as_cell, as_paragraph, as_row, as_run, as_section, as_shape, as_table.
All public members are accessible to any Python application after installing the Aspose.Words FOSS for Python package.
Properties: font, text, type.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
type | str | Read | Gets the type. |
text | str | Read | Gets the text. |
font | Font | Read | Gets the font. |
Methods
| Signature | Description |
|---|---|
as_body() | Calls as_body on this Run instance. |
as_cell() | Calls as_cell on this Run instance. |
as_paragraph() | Calls as_paragraph on this Run instance. |
as_row() | Calls as_row on this Run instance. |
as_run() | Calls as_run on this Run instance. |
as_section() | Calls as_section on this Run instance. |
as_shape() | Calls as_shape on this Run instance. |
as_table() | Calls as_table on this Run instance. |