Click here to Skip to main content
15,889,724 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Anybody help me to retrieve and store text and image from pdf file using c#.
I m having one pdf file that contains both image and text in table format.

Refer this https://drive.google.com/file/d/0B8h0NyF1SxcEWXZHdlp5TjRJXzA/view?usp=sharing

I wanna to import that pdf content to my wpf listview.
Posted
Updated 4-Oct-15 19:56pm
v3
Comments
Leo Chapiro 1-Oct-15 8:03am    
What have you tried and where are you stuck?
Aravindh Aravindhan 1-Oct-15 8:24am    
Thanks for ur response _duDE_....I m having one pdf file that are contain both image and text in table format.....I wanna to import that pdf content to my wpf listview...I m using sql database...Truely I don't know how to import this pdf content to listview..sp plz help me dude.

 
Share this answer
 
Comments
Aravindh Aravindhan 1-Oct-15 9:07am    
Thanks Rohit...
https://drive.google.com/file/d/0B8h0NyF1SxcEWXZHdlp5TjRJXzA/view?usp=sharing
plz refer this..this is my pdf file...how to import this is to my wpf listview friend??i m using sql database...
http://bitmiracle.com/pdf-library/[^] an be used to extract images from PDFs:

C#
static void ExtractAllImages()
{
    string path = "";
    using (PdfDocument pdf = new PdfDocument(path))
    {
        for (int i = 0; i < pdf.Images.Count; i++)
        {
            string imageName = string.Format("image{0}", i);
            string imagePath = pdf.Images[i].Save(imageName);
        }
    }
}


This seems to be a good start point, good luck!
 
Share this answer
 
v3
Comments
Aravindh Aravindhan 1-Oct-15 8:58am    
https://drive.google.com/file/d/0B8h0NyF1SxcEWXZHdlp5TjRJXzA/view?usp=sharing
plz see this..this is my pdf file...how to import this is to my listview friend??
Richard Deeming 1-Oct-15 12:12pm    
That's a commercial product. Links to commercial products are strongly discouraged, unless the user has specifically asked about that product.
Aravindh Aravindhan 2-Oct-15 1:55am    
then what can i do Richard???

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900