Dhakshinamoorthy,

Dhakshin wrote
> Is it possible to extract text using the rectangle coordinates or x/y axis
> from the PDF file using itextsharp dll.

The sample ExtractPageContentArea
(http://kuujinbo.info/iTextInAction2Ed/index.aspx?ch=Chapter15&ex=ExtractPageContentArea)
shows how to extract from a given region on the page. Essentially it applies
a RegionTextRenderFilter to the normal text extraction.

> i want to extract the image and story from the PDF file (extract text is
> enough, if image is not possible).

For image extraction you can use the same code replacing
LocationTextExtractionStrategy by a render listener which listens to the
image events. Or you can use a combined listener processing both the text
and the image events.

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Extract-text-using-the-rectangle-coordinates-from-a-Pdf-file-using-itextsharp-tp4658744p4658748.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to