To block all PDFs from the search engine index, create a robots.txt with this content:
robots.txt
User-agent: * Disallow: *.pdf