TextParagraph

TextParagraph class

Represents text paragraphs as multiline text object.

The TextParagraph type exposes the following members:

Constructors

NameDescription
TextParagraph()Initializes a new instance of the TextParagraph class

Properties

NameDescription
vertical_alignmentGets or sets vertical alignment for the text inside paragrph’s rectangle.
subsequent_lines_indentGets or sets subsequent lines indent value.
If set to a non-zero value, it has an advantage over the FormattingOptions.SubsequentLinesIndent value.
first_line_indentGets or sets subsequent lines indent value.
If set to a non-zero value, it has an advantage over the FormattingOptions.SubsequentLinesIndent value.
justifyGets or sets value whether text is justified.
horizontal_alignmentGets or sets horizontal alignment for the text inside paragrph’s rectangle.
formatting_optionsGets or sets formatting options.
positionGets or sets position of the paragraph.
text_rectangleGets rectangle of the text placed to the paragraph.
rectangleGets or sets rectangle of the paragraph.
marginGets or sets the padding.
rotationGets or sets rotation angle in degrees.

Methods

NameDescription
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