I believe this is part of the Adobe Reader software and is not accessible through the API. There are APIs and libraries for creating PDF documents according to format specifications, but OCR is what concerns the reader, not the format. I'm afraid you will have to either use another library, or implement it yourself.
Slavo source
share