Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers: PDF
Showing posts with label PDF. Show all posts
Showing posts with label PDF. Show all posts

Extracting text with iTextSharp throws an InvalidCastException

If you are using 'iTextSharp' library to read/write PDF files in your application and faced an InvalidCastException with the message "Unable to cast object of type 'iTextSharp.text.pdf.PdfLiteral' to type 'iTextSharp.text.pdf.PdfString'", this post will help you to know the root cause of the issue. Continue reading to learn more about it.


 
© 2008-2017 Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers | Designed by Kunal Chowdhury
Back to top