the result of scanning is always - depending on the settings in the scanner driver - a black/white, a gray or a color image.
Even if you did scan a vector graphics or text, the result will be an image.
In order to create text files you need OCR software. Many scanner already include a simple OCR software.
If you want to create vector graphics, you have to vectorize the scanned image. PhotoLine is able to convert images to vector graphics with the function Layer/Action/Convert Layer Type.