DTWAIN_SetPDFOCRMode
The following function is available only with DTWAIN / PDF.
The DTWAIN_SetPDFOCRMode signals that acquisition to PDF files will contain searchable text.
DTWAIN_BOOL DTWAIN_SetPDFOCRMode (
Parameters Source A selected TWAIN Source.
bEnable If TRUE, will save searchable text to PDF files.
Return Values The return value is TRUE if successful. Otherwise FALSE is returned.
Comments The DTWAIN_SetPDFOCRMode function signals to DTWAIN that the PDF files that are acquired from the TWAIN Source Source will be saved with searchable text. See the DTWAIN_SetPDFOCRConversion for more information.
If bEnable is TRUE, PDF files will contain searchable text. If FALSE, this turns off the generation of searchable text within PDF files.
Example
Prerequisite Function Call(s) DTWAIN_SelectOCREngine, DTWAIN_SelectDefaultOCREngine, DTWAIN_SelectOCREngineByName |