Gets a collection of all paragraphs contained in the main text of the document. The property value is an object of the type ParagraphCollection.

Syntax

public ParagraphCollection Paragraphs { get; }
Public ReadOnly Property Paragraphs() As ParagraphCollection

Examples

The following examples describes how to use the 'TXTextControl.MainText.Paragraphs' property by storing it in a variable of the type 'TXTextControl.ParagraphCollection'.

TXTextControl.MainText mainText = textControl1.TextParts.GetMainText();
//...
TXTextControl.ParagraphCollection myMainTextParagraphColl = mainText.Paragraphs;
//...
Dim mainText As TXTextControl.MainText = TextControl1.TextParts.GetMainText()
'...)
Dim myMainTextParagraphColl As TXTextControl.ParagraphCollection = mainText.Paragraphs
'...

Limitations

Read only.