DocContent object

DocContent is an object returned by Application.FindAllObjects()/FindObjects(). A document content consists of word, line, and image objects, i.e. all found objects on an image (Form). The word objects can be interpreted and be filled with FieldChar objects.

In FORMS’ Document Content folder you can find an example of how to use the DocContent, DocBox, DocLine, and DocWord objects and their methods. See the readme file in that folder for additional details.

Default location in Windows XP and Windows Server 2003: C:\Program Files\ReadSoft\FORMS\Samples\Document Content

Default location in the newer operating systems: C:\Users\Public\ReadSoft\FORMS\Samples\Document Content

Note: Form images must be available during interpretation. (This is not to say that they must be imported— they must simply be available on disk.) Form images can be supplied in a number of ways. These two are perhaps the most common:

Methods

AddSearchWord

CreateEmptyWord

FindBestWordMatches

GetBoxNo

GetFirstBox

GetFirstLine

GetFirstWord

GetFirstWordMatch

GetLineNo

GetNextBox

GetNextLine

GetNextWord

GetNextWordMatch

GetNoOfBoxes

GetNoOfLines

GetNoOfWords

GetStringEditDistance

GetWordNo

GetXSize

GetYSize

InterpretAllBoxes

InterpretAllWords

InterpretBoxes

InterpretBoxNo

InterpretWordNo

InterpretWords

LoadImage

SetFormat

SetSecurityLevel

SetWordSearchOptions