Method Find
Namespace TallComponents.PDF
Class Page
Find text in this page.
An enumerator is returned, not a collection, because the next TextMatch is evaluated lazily.
If transformGlyphs is true, the glyphs are transformed with the page transformation during sorting. This means that the compare function will see the glyph coordinates as if their origin is at the bottom left of the page view. If a page is rotated, the actual origin of the page will be in one of the other corners of the view. The returned glyphs however will contain the original glyphs coordinates, i.e. with respect to the page origin, not the view origin.
Syntax
public
TextMatchEnumerator
Find(
TextFindCriteria
findCriteria
,
IGlyphComparer
glyphComparer
,
Boolean
transformGlyphs
)
Returns
TextMatchEnumerator
An enumerator that lets you enumerate over all TextMatch elements
Parameters
TextFindCriteria
findCriteria
Specifies find criteria.
IGlyphComparer
glyphComparer
The custom glyph comparer. If null, glyphs are sorted by their positions.
Boolean
transformGlyphs
If true, each glyph is transformed with the page transformation (orientation) before de glyph comparer is applied.