TX Text Control .NET Server

Paragraphs Property

Property|Introduced in 15.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

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; }

Examples

The following example iterates through the paragraphs collection and processes each paragraph.

foreach (Paragraph paragraph in textControl.Paragraphs)
{
    Console.WriteLine(paragraph.FormattingStyle);
}

Limitations

Read only.