RemovePage method (ILEADRasterDocument)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short RemovePage (short iPageIndex);

Overview

Refer to Working with Pages

Remarks

Removes the specified page from the OCR document.

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

To add a page to the OCR document, use the AddPage method.

To export a page to an object, use the ExportPage method.

To enable automatic clean-up of temporary files, call the CleanupPages method and pass TRUE to the bAutoCleanup parameter before calling the RemovePage method. In this case, when calling the RemovePage method, the specified page will be deleted from the OCR document and the corresponding temporary file of this page.

See Also

Elements:

AddPage method, UpdatePage method, ExportPage method, PageCount property, CleanupPages method, CleanupPages method.

Topics:

Quick Reference OCR: Working with Pages