Read table content from a pdf file using Web API controller method

Hello,

The code sample you provide shows how to get text from a Pdf file using a .Net MVC controller "with view"


Can you please show me how to extract a table data from Pdf file using Asp.Net core Web API controller rather than MVC.

Thank you.


1 Reply

JT Jeyalakshmi Thangamarippandian Syncfusion Team January 12, 2024 10:11 AM UTC

Hi, 

We don’t have direct support to extract table data from the PDF document. Instead of we can extract the text from the PDF document using our library. You can refer the following UG documentation to extract the text from the PDF documents.

https://help.syncfusion.com/file-formats/pdf/working-with-text-extraction

 

However, we can achieve the table extraction using tabula. For more details refer the following KB article.

https://support.syncfusion.com/kb/article/8603/how-to-convert-tables-in-pdf-document-to-excel-file 


Regards,

Jeyalakshmi T



Loader.
Up arrow icon