Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Working with Pages (Deprecated)

This topic has been deprecated. Refer to Programming with Leadtools .NET OCR

After starting the OCR document engine, you can begin working with the document page(s).An OCR document contains one or more pages.

The LEADTOOLS OCR methods provide support for the following when working with OCR pages:

  • Getting information about one ore more pages

  • Adding or removing pages

  • Exporting pages

  • Updating pages

It may be necessary to alter the orientation of a page to make it more readable. This can be done automatically by calling the AutoOrientPage method. This method corrects the rotation of the page and automatically updates the image data.

Two methods may be used to obtain information about one or more pages in the OCR document. To determine the total number of pages in the OCR document, check the PageCount property. To get general information about a specific page, call GetPageInfo function to get RasterDocumentPageInfo class which contains detailed information about the page.

To add a page from an image file into the OCR document page list, call AddPage. To remove a page from the OCR document page list, call RemovePage.

ExportPage exports a page from the OCR document to a file.

If the page images changed, for example following the application of an image processing method, the page should by updated by calling UpdatePage.

To get the general fill method for the engine, check the FillMethod property.

FillMethod property updates the general fill method for the engine.

To get the default fill method for a specific page, call GetDefaultFillMethod function.