IParagraph class

IParagraph class

Represents a paragraph of a text.

The IParagraph type exposes the following members:

Properties

PropertyDescription
portionsReturns the collection of a text portions.
Read-only IPortionCollection.
paragraph_formatReturns the formatting object for this paragraph.
Read-only IParagraphFormat.
textGets or sets the the plain text of a paragraph.
Read/write str.
end_paragraph_portion_formatSpecifies the portion properties that are to be used if another portion is inserted after
the last one.
slide
presentation

Methods

MethodDescription
join_portions_with_same_formattingJoins runs with same formatting.
get_rectGet coordinates of rect that bounds paragraph. The rect includes all the lines of
text in paragraph, including empty ones.
get_lines_countGet number of lines in a paragraph.

See Also