DocTextFinder Class Documentation

class DocTextFinder : SystemIDisposable

Namespace:Datalogics::PDFL

Inherits from:
SystemIDisposable

Detailed Description

A class used to extract words from a document using a regular expression.

Constructor & Destructor Documentation

Member Function Documentation

Dispose

void Dispose()

Returns:

void

GetMatchList

System.Collections.Generic.IList< DocTextFinderMatch > GetMatchList(int beginPageNumber, int endPageNumber, string regexstr)

Parameters

beginPageNumber: int

the beginning page number included in the search.

endPageNumber: int

the ending page number included in the search.

regexstr: string

the regular expression to use for the search.

Returns:

System.Collections.Generic.IList< DocTextFinderMatch >

a structure containing matching phrases along with its quads.

Finds all matching strings for a given regular expression for the specified page range. It returns a vector containing words along with the page and matching phrase that was found.