How can i read pdf file in .net?
-
I uploaded word doc and internally by using third party tool i converted it to pdf.Now, if i upload pdf file it should save as pdf file.I mean just to read a pdf file.Please suggest...
I have found some nice links for the same. Find it useful. Converting PDF to Text in C#[^] Extract Text from PDF in C# (100% .NET)[^] HTH
Jinal Desai - LIVE Experience is mother of sage....
-
I uploaded word doc and internally by using third party tool i converted it to pdf.Now, if i upload pdf file it should save as pdf file.I mean just to read a pdf file.Please suggest...
Do you have the filename at all? If so, just check the extension - I know that it's no guarantee that the file is really a pdf, but checking for that would require you to analyze the file header which is a darn site more work.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
Do you have the filename at all? If so, just check the extension - I know that it's no guarantee that the file is really a pdf, but checking for that would require you to analyze the file header which is a darn site more work.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.