For this to work, though, the PDF file must be text searchable. Fortunately PDF files created directly with a word processor are mostly text searchable, but PDF files created by scanning hard-copy documents are usually not. Unless resorting to optical character recognition, scanned PDF files often treat text as raster images and do not have the same structure as PDF files that are text searchable.