Read specific value based on label name from PDF in C#

前端 未结 3 1408
梦谈多话
梦谈多话 2021-01-19 11:07

I have an asp.net Core 2.0 C# application which read/parse the PDF file and get the text. In this I want to read specific value which have specific label name.

3条回答
  •  一个人的身影
    2021-01-19 11:46

    Assuming that the invoice label and invoice number is embedded as text in PDF and not as Bitmap.

    One way that I can think of doing this is by using Spire.PDF and extract location of the label, and then find the number written right below that location. This will be relatively simple if you have same template of all the PDFs you want to process.

提交回复
热议问题