PDFReaderControls.NET Standard Class Reference

Document.Find Method (TextFindCriteria, IGlyphComparer, Boolean)

Find text in this document.

public TextMatchEnumerator Find(
   TextFindCriteria findCriteria,
   IGlyphComparer glyphComparer,
   bool transformGlyphs
);

Parameters

findCriteria
Specifies find criteria.
glyphComparer
The custom glyph comparer.
transformGlyphs
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.

See Also

Document Class | TallComponents.PDF.ReaderControls Namespace | Document.Find Overload List