Foxit PDF SDK
FSDK.OCRCallback Class Reference

Public Member Functions

 NeedToCancelNow (info)
 A callback function to used to cancel current OCR progress. More...
 

Detailed Description

This class represents a callback object to cancel OCR progress. All the pure virtual functions in this class are used as callback functions and should be implemented by user. An implemented FSDK.OCRCallback object can be set by function FSDK.OCREngine.SetOCRCallback.

Member Function Documentation

◆ NeedToCancelNow()

FSDK.OCRCallback.NeedToCancelNow ( info  )

A callback function to used to cancel current OCR progress.

Parameters
[in]infoA string that describes the OCR progress information.
Returns
true means to cancel progress, while false means not.