AddPage method (ILEADRasterDocument)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AddPage (IDispatch *pRaster, short iPageIndex);

Overview

Refer to Working with Pages

Remarks

Adds a new page to the internal list of pages that make up the OCR document.

After this method returns, the PageCount property is updated with the new total number of pages in the OCR document.

This method checks the color order for each image. If any image's color order is inversed (i.e. white to black) then the method will convert the color order to be normal (i.e. black to white).

See Also

Elements:

UpdatePage method, RemovePage method, ExportPage method, AutoOrientPage method, PageCount property, CleanupPages method

Topics:

Quick Reference OCR: Working with Pages