Op 7/03/2012 11:43, Mehul schreef: > Hi, > > I am working on an application where i need to search for a text and > retrieve position of the line on that page. Searching is not an issue as i > can extract entire content from the page and search within it. I am not > concerned about exact word position but at least i want to know position of > a line from bottom-left corner which means x is 0. Is there any way i can > get the starting position of each of the line while extracting content.
Text can be added in different snippets. For instance: "Hello World" can be divided into "He", "Wo", "llo", "rld" each added at an absolute position. You can read how to retrieve these positions in chapter 15 of "iText in Action - Second Edition". ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ iText-questions mailing list [email protected] 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
