It's not that simple.
Once a document (or anything) is scanned .. it's an image file. Even PDF will add it up as an image. It wont recognize the text in it.
You will need a OCR (Optical Character Recognition) software to identify the text in the image. OCR is a very tricky thing .. it may work, it may not .. you cant say it for sure. Most good OCR are costly .. there are a few free softwares like
Omniformat. But frankly speaking, till date I havent been able to convert any text successfully using it.
With handwritten text .. the possibility of success is next to zero..
but you can try.
-----
alibi