iTextSharp v5 GetTextFromPage() throws IndexOutOfRangeException

后端 未结 1 365
说谎
说谎 2021-01-26 17:44

Trying to extract the textual content of a pdf with the following code:

PdfReader reader = new PdfReader(path);
string strText = string.Empty;

for (int page = 1         


        
相关标签:
1条回答
  • 2021-01-26 17:47

    I resolved this issue by updating my version of iTextSharp from 5.1 to 5.2.

    0 讨论(0)
提交回复
热议问题