# 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.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 15.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Implements:** `System.Collections.ICollection`, `System.Collections.IEnumerable`
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > ParagraphCollection Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraphcollection/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraphcollection/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraphcollection/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraphcollection/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraphcollection/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraphcollection/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraphcollection/#members)

---

## In This Section

- [ParagraphCollection.CopyTo Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraphcollection/copyto-method/llms.txt): Copies the elements of the collection to an array, starting at a particular index.
- [ParagraphCollection.Count Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraphcollection/count-property/llms.txt): Gets the number of elements contained in the collection.
- [ParagraphCollection.GetEnumerator Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraphcollection/getenumerator-method/llms.txt): Returns an enumerator that can be used to iterate through the collection.
- [ParagraphCollection.GetItem Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraphcollection/getitem-method/llms.txt): Gets a particular paragraph from the collection.
- [ParagraphCollection.Item Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraphcollection/item-property/llms.txt): Gets a paragraph from the collection. In C# this property is the indexer for the ParagraphCollection class.

---

## Nearby

- **Previous:** [Paragraph.Text Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraph/text-property/llms.txt)
- **Next:** [ParagraphCollection.CopyTo Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/paragraphcollection/copyto-method/llms.txt)
