Hi Sudheer,
I have checked the code and the file as well. I have found that the file doesn't contain any text though, it contains two lines and a carriage return i.e. \n\r\n. So, there are two empty lines in the PDF which are being treated as text when extracted. You can check it using the following code:
ms.Flush();
ms.Position = 0;
System.IO.StreamReader sr = new System.IO.StreamReader(ms);
string s = sr.ReadToEnd();
I would suggest you to check the output via your code to see that whether the PDF contains some valuable text or not. I'm afraid, Aspose.Pdf.Kit doesn't provide any method to check this.
We're sorry for the inconvenience. If you have any further questions, please do let us know.
Regards,
Shahzad Latif - [
Follow me on Twitter!]
Support Developer/Developer Evangelist
Aspose Sialkot Team
Aspose - Your File Format Experts
Keep in touch! We're on
Twitter and
Facebook