Visual Basic (Declaration) | |
---|---|
Public Sub CleanupPages( _ ByVal autoCleanup As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void CleanupPages( bool autoCleanup ) |
Managed Extensions for C++ | |
---|---|
public: void CleanupPages( bool autoCleanup ) |
C++/CLI | |
---|---|
public: void CleanupPages( bool autoCleanup ) |
Parameters
- autoCleanup
- Enables or disables automatic cleanup of pages. true: (Default) Cleanup is done automatically when a page a removed. Also will clean up any remaining images from a previous call with autoCleanup set to false. false: No cleanup is done until the function is called again with autoCleanup set to true.
Refer to RemovePage example.
If the function is called with autoCleanup set to true, it will check for any
images left over from previously removed pages and will delete them.
This can happen if the function was previously called with autoCleanup set to false.
When this function is called with autoCleanup set to true, the RemovePage method will delete the specified page from engine and delete its corresponding temporary file.
When this function is called with autoCleanup set to false, the RemovePage method will delete the specified page from engine and will not delete its corresponding temporary file.
The corresponding temporary files are deleted when this function is called with autoCleanup set to true and when the OCR engine is shut down.
When you shut down the OCR engine, pages will be removed and cleanup will take place.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family