---
title: "TextParagraph"
url: "https://reference.aspose.com/pdf/python-net/aspose.pdf.text/textparagraph/"
product: "Aspose.PDF for Python via .NET API Reference"
description: "Represents text paragraphs as multiline text object."
---


## TextParagraph class

Represents text paragraphs as multiline text object.

The TextParagraph type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|TextParagraph()|Initializes a new instance of the TextParagraph class|
## Properties
| Name | Description |
| :- | :- |
|vertical_alignment|Gets or sets vertical alignment for the text inside paragrph's [rectangle](/pdf/python-net/aspose.pdf.text/textparagraph/).|
|subsequent_lines_indent|Gets or sets subsequent lines indent value.<br/>            If set to a non-zero value, it has an advantage over the FormattingOptions.SubsequentLinesIndent value.|
|first_line_indent|Gets or sets subsequent lines indent value.<br/>            If set to a non-zero value, it has an advantage over the FormattingOptions.SubsequentLinesIndent value.|
|justify|Gets or sets value whether text is justified.|
|horizontal_alignment|Gets or sets horizontal alignment for the text inside paragrph's [rectangle](/pdf/python-net/aspose.pdf.text/textparagraph/).|
|formatting_options|Gets or sets formatting options.|
|position|Gets or sets position of the paragraph.|
|text_rectangle|Gets rectangle of the text placed to the paragraph.|
|rectangle|Gets or sets rectangle of the paragraph.|
|margin|Gets or sets the padding.|
|rotation|Gets or sets rotation angle in degrees.|
## Methods
| Name | Description |
| :- | :- |
|append_line(line)|Appends text line|
|append_line(line, line_spacing)|Appends text line.|
|append_line(line, text_state)|Appends text line with text state parameters.|
|append_line(line, text_state, line_spacing)|Appends text line with text state parameters|
|append_line(line)|Appends text line with text state parameters.|
|append_line(line, text_state)|Appends text line with text state parameters.|
|append_line(line, text_state, line_spacing)|Appends text line with text state parameters|
|begin_edit()|Begins the editing of the TextParagraph.|
|end_edit()|Ends the editing of the TextParagraph.|

### See Also

* namespace [aspose.pdf.text](/pdf/python-net/aspose.pdf.text/)
* assembly [Aspose.PDF](/pdf/python-net/)

