BCL easyConverter SDK
easyConverter SDK Usermanual
PDF-to-Word Programming API  |  Download Free Trial  |  Contact Us to Purchase

OcrOption Property

Set the option for handling OCR-ed documents.

Sub OcrOption(newVal As Long)


Parameters

newVal

One of optOcr values:

OPT_OCR_TEXT_IMAGE = 0,
OPT_OCR_TEXTONLY = 1,
OPT_OCR_IMAGEONLY = 2

Exception Handling

Please refer to the list of return exceptions.

Example Usage

oConverter = CreateObject("EasyConverter.PDF2Word.5")

' Set option for handling OCR-ed documents
oConverter.OcrOption = OPT_OCR_TEXT_IMAGE
Call oConverter.ConvertToWord(inFileName, outFileName)