How to read the contents of a downloaded pdf file in asp.net?
I tried, but I can not get the contents of the downloaded file.
I ran into this problem. If you have the source code, please provide me or help me ..
You can try using the iText library. You are particularly interested in the PdfTextExtractor class, which has the getTextFromPage () method.
PdfTextExtractor pdfParser =new PdfTextExtractor(new PdfReader("pdf_file_location")); pdfParser .getTextFromPage(1);
You can try the Docotic.Pdf library (disclaimer: I work for Bit Miracle) to extract text from PDF files.
Please take a look at a sample that shows how to extract text from a PDF .
Source: https://habr.com/ru/post/1312955/More articles:How to handle the life cycle of dynamically allocated data in Windows messages? - memory-managementCc.net dynamic parameters in publisher block - cruisecontrol.netHow to programmatically generate WSDL from a WCF (Integration Testing) service - wsdlInvalid namespace type or name - c #XPath to compare two different attributes of two elements - xmlThe maximum buffer length in socket AF_UNIX is cHow to create an βeditβ URL for a backup resource? - restMultiple parts issue with Jinja2 - pythonHow to rewrite url - htmlProblem with UserControl with custom dependency property - c #All Articles