iTextSharp v5 GetTextFromPage() throws IndexOutOfRangeException

后端 未结 1 1803
旧巷少年郎
旧巷少年郎 2021-01-26 17:12

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:51

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

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