Worktext

This property provides access to the raw OCR results represented by the SCBCroWorktext object.

Note: After any modification to Workdoc.Worktext, it is highly recommended to rebuild the Workdoc objects using Workdoc.RebuildBasicObjects to avoid corrupted words in the Workdoc.

Syntax

Worktext as ISCBCroWorktext

Sample Code

The following sample code shows how to rebuild the Workdoc after removing lines.

For lngLine = (lngLineCount - 1) To (lngHitLine) Step -1
   pWorkdoc.Worktext.RemoveLine(lngLine)
Next lngLine
pWorkdoc.RebuildBasicObjects  'added to rebuild the workdoc's objects from the modified workdocs's main worktext