My question is simple and clear. I find that nobody else seems to have this problem. I insist to use Foxit libraries because it supports Farsi text recognition. My programming language is VBA.
It seems that there is no method neither in PhantomPDF
nor in FoxIt SDK
Libraries to only OCR a PDF file without saving it as Excel file afterwards.