Paragraph class

Represents a paragraph of text.

public sealed class Paragraph : IParagraph


Name Description
Paragraph() Initializes a new instance of the Paragraph class with default properties.
Paragraph(Paragraph) Copy constructor that initializes a new instance of a Paragraph class.


Name Description
EndParagraphPortionFormat { get; set; } Specifies the portion properties that are to be used if another portion is inserted after the last one.
ParagraphFormat { get; } Returns the formatting object for this paragraph. Read-only IParagraphFormat.
Portions { get; } Returns the collection of a text portions. Read-only IPortionCollection.
Text { get; set; } Gets or sets the the plain text of a paragraph. Read/write String.


Name Description
GetRect() Get coordinates of rect that bounds paragraph. The rect includes all the lines of text in paragraph, including empty ones.
JoinPortionsWithSameFormatting() Joins runs with same formatting.

See Also