How to convert a scanned PDF document into a text file with PDFTron?

Hello,

Is it possible to convert a scanned PDF document (images) into a text
file with PDFTron?
If yes: how and do you have a sample code?

Thank you,
Vincent