Paragraph
Overview
Paragraph is a class in Aspose.PDF FOSS for Python.
One paragraph: what it says, and how it differs from the block.
This class declares 1 method for Paragraph objects in Python programs.
Available methods include: __post_init__.
Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: alignment, first_line_indent, font_name, font_size, keep_together, keep_with_next, and 10 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
text | str | Read/Write | Gets or sets the text. |
alignment | str | None | Read/Write | Gets or sets the alignment. |
font_name | str | None | Read/Write | Gets or sets the font name. |
font_size | float | None | Read/Write | Gets or sets the font size. |
text_color | Any | Read/Write | Gets or sets the text color. |
line_height | float | None | Read/Write | Gets or sets the line height. |
space_before | float | Read/Write | Gets or sets the space before. |
space_after | float | Read/Write | Gets or sets the space after. |
first_line_indent | float | None | Read/Write | Gets or sets the first line indent. |
left_indent | float | Read/Write | Gets or sets the left indent. |
right_indent | float | Read/Write | Gets or sets the right indent. |
tag | str | None | Read/Write | Gets or sets the tag. |
keep_together | bool | Read/Write | Gets or sets the keep together. |
widow_lines | int | None | Read/Write | Gets or sets the widow lines. |
orphan_lines | int | None | Read/Write | Gets or sets the orphan lines. |
keep_with_next | bool | Read/Write | Gets or sets the keep with next. |
Methods
| Signature | Description |
|---|---|
__post_init__() | Calls post_init on this Paragraph instance. |