[英]Is there any way to read specific columns of a table in a PDF using C#
我有一個PDf,其中有一個包含6列的表。 我只需要提取表中3列的內容。 使用itext sharp可以嗎?
您不能直接使用itext sharp做到這一點。您應該編寫somde代碼以將文本解析為html,然后再使用itext或任何其他庫從pdf中讀取該文本。
這里有一些有用的鏈接。
https://www.codeproject.com/questions/734458/convert-pdf-to-html-using-csharp-open-source-libra
http://aspdotnetcodebook.blogspot.com.tr/2008/08/how-to-convert-pdf-file-to-text-in.html
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.