![](/img/trans.png)
[英]How to pass the file name of an uploaded file into a SQL Value in ASP.NET C#?
[英]How to find a text in the uploaded PDF file in ASP.NET c#
您肯定需要一些 PDF 閱讀圖書館。 最著名的是
IText(誰還記得它的 ITextSharp): https://github.com/itext/itext7-do.net
PDFSharp: https://github.com/empira/PDFsharp
以及許多其他免費選項。
使用這些,您可以打開 pdf 文件並閱讀它並獲取您需要的文本。 通常他們會為您提供 PDF 元素的集合(段落、圖像等,您可以循環瀏覽它們或使用搜索 function 來查找您需要的內容)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.