TX Text Control .NET for Windows Forms Documentation

ParagraphCollection Class

An instance of the ParagraphCollection class contains all paragraphs in a Text Control document or part of the document represented through objects of the type Paragraph. An instance of this class can be obtained with the TextControl.Paragraphs, HeaderFooter.Paragraphs or TextFrame.Paragraphs property. The ParagraphCollection class implements the IEnumerable and the ICollection interfaces.

Introduced: 15.0.

Syntax

[C#] public class ParagraphCollection : ICollection, IEnumerable
[Visual Basic] Public Class ParagraphCollection Implements ICollection Implements IEnumerable

Properties

PropertyDescription
CountGets the number of elements contained in the collection.

Methods

MethodDescription
CopyToCopies the elements of the collection to an array, starting at a particular index.
GetEnumeratorReturns an enumerator that can be used to iterate through the collection.
GetItemGets a particular paragraph from the collection.
ItemGets a paragraph from the collection.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now