Find text in this document.
Namespace: TallComponents.PDFAssembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 3.0.69.0
Syntax
| C# |
|---|
public TextMatchEnumerator Find( TextFindCriteria findCriteria, IGlyphComparer glyphComparer, bool transformGlyphs ) |
| Visual Basic |
|---|
Public Function Find ( _ findCriteria As TextFindCriteria, _ glyphComparer As IGlyphComparer, _ transformGlyphs As Boolean _ ) As TextMatchEnumerator |
Parameters
- findCriteria
- Type: TallComponents.PDF.TextExtraction..::..TextFindCriteria
Specifies find criteria.
- glyphComparer
- Type: TallComponents.PDF.TextExtraction..::..IGlyphComparer
The custom glyph comparer.
- transformGlyphs
- Type: System..::..Boolean
Transform each glyph with the page transformation (orientation) before sorting.
Return Value
An enumerator that let you enumerate over all TextMatch elements
Remarks
An enumerator is returned, not a collection, because the next TextMatch is evaluated lazy.
If transformGlyphs is true, than the glyphs are tranformed during the sort only, the returned glyphs contains the original glyphs.