Property this
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
this[int]
Gets the PdfTextGroup at the specified index in this collection.
public PdfTextGroup this[int groupNum] { get; }
Parameters
groupNumintThe zero-based index of the group to retrieve.
Property Value
- PdfTextGroup
The group stored at the specified index.
Remarks
You can use this property to retrieve individual captured groups by their index number.
You can determine the number of items in the collection by retrieving the value of the
Count property. Valid values for the groupNum parameter
range from 0 to one less than the number of items in the collection.
If groupNum is not the index of a member of the collection, or if
groupNum is the index of a capturing group that has not been matched
in the input string, the method returns a PdfTextGroup object whose
Success property is false.
this[string]
Gets the PdfTextGroup at the specified name in this collection.
public PdfTextGroup this[string groupName] { get; }
Parameters
groupNamestringThe name of a capturing group.
Property Value
- PdfTextGroup
The member of the collection specified by
groupName.
Remarks
groupName can be either the name of a capturing group that is
defined by the (?<name>) element in a regular expression, or the string
representation of the number of a capturing group.
If groupName is not the name of a capturing group in the collection,
or if groupname is the name of a capturing group that has not been matched in the input
string, the method returns a PdfTextGroup object whose
Success property is false.