Class PdfTextGroupCollection
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Represents a collection of captured groups in a single PdfTextMatch.
public sealed class PdfTextGroupCollection : IEnumerable<PdfTextGroup>, IEnumerable
- Inheritance
-
PdfTextGroupCollection
- Implements
- Inherited Members
Remarks
The collection is immutable (read-only) and has no public constructor. A PdfTextGroupCollection object is returned by the Groups property.
The collection contains one or more PdfTextGroup objects. The first element in the collection contains the group that corresponds to the entire match. Each subsequent element represents a captured group, if the regular expression includes capturing groups. Matches from numbered (unnamed) capturing groups appear in numeric order before matches from named capturing groups.
Properties
- Count
Gets the number of groups contained in this collection.
- this[int]
Gets the PdfTextGroup at the specified index in this collection.
- this[string]
Gets the PdfTextGroup at the specified name in this collection.
Methods
- GetEnumerator()
Returns an enumerator that iterates through the collection of groups.