Click or drag to resize
Paragraph Class
Represents a paragraph of content in the document.
Inheritance Hierarchy

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1231
Syntax
public sealed class Paragraph : Block, 
	IContentElement

The Paragraph type exposes the following members.

Constructors
Methods
Properties
  NameDescription
Public propertyCharacterFormatForParagraphMark
Gets or sets the character format for the paragraph mark.
Public propertyContent
Gets the content of the current Element.
(Inherited from Element.)
Public propertyDocument
Gets the owner document.
(Overrides ElementDocument.)
Public propertyElementType
Gets the ElementType of this Element instance.
(Overrides ElementElementType.)
Public propertyInlines
Gets the Paragraph's inlines.
Public propertyListFormat
Gets or sets the list format.
Public propertyListItem
Gets the list item or if paragraph doesn't have list item.
Public propertyParagraphFormat
Gets or sets the paragraph format.
Public propertyParent
Gets the parent of this Element instance.
(Inherited from Element.)
Public propertyParentCollection
Gets the BlockCollection that contains this Block instance.
(Inherited from Block.)
Top
Explicit Interface Implementations
Remarks

Paragraph is one of the main document building blocks. It can be contained under a Section, TableCell, TextBox, TableOfEntries or HeaderFooter.

Paragraph is a content element that contains Inline derived elements in its Paragraph.Inlines property. For more information, see content model.

Paragraph can be formatted using the Paragraph.ParagraphFormat property, and it can also be formatted to be used as a part of the list using the Paragraph.ListFormat property. For more information about paragraph formatting, see paragraph formatting sample.

See Also