Paragraph

Paragraph class

Represents a paragraph of text.

The Paragraph type exposes the following members:

Constructors

NameDescription
Paragraph()Initializes a new instance of the Paragraph class with default properties.
Paragraph(para)Initializes a new instance of the Paragraph class

Properties

NameDescription
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 string.
end_paragraph_portion_formatSpecifies the portion properties that are to be used if another portion is inserted after
the last one.
as_i_slide_componentAllows to get base ISlideComponent interface.
Read-only ISlideComponent.
slideReturns the base slide.
Read-only IBaseSlide.
as_i_presentation_componentAllows to get base IPresentationComponent interface.
Read-only IPresentationComponent.
presentationReturns the presentation.
Read-only IPresentation.

Methods

NameDescription
join_portions_with_same_formatting()Joins runs with same formatting.
get_rect()Get coordinates of rect that bounds paragraph. The rect includes all the lines of
text in paragraph, including empty ones.
get_lines_count()Get number of lines in a paragraph.

See Also