Detect lines

FDnC Red <[email protected]>
Newsgroups gmane.comp.java.lib.itext.general
Message-ID <[email protected]>
Is there an easy way with iTextSharp to detect lines in PDF files?

I see the lines in a stream but I'm not sure how to parse them out of there nor do I know how to convert them from the current transform matrix.  For this given PDF there are 4 horizontal lines and 3 vertical lines.

q 1 0 0 1 19.96 538.9747 cm 
0 0 m 
716.89 0 l 
S 
Q 
q 1 0 0 1 19.96 399.63 cm 
0 0 m 
716.89 0 l 
S 
Q 
q 1 0 0 1 19.96 268.3525 cm 
0 0 m 
716.89 0 l 
S 
Q 
q 1 0 0 1 19.96 141.3561 cm 
0 0 m 
716.89 0 l 
S 
Q 
0 0 0 1 K 
/GS1 gs 
q 1 0 0 1 184.01 538.4 cm 
0 0 m 
0 -509.96 l 
S 
Q 
q 1 0 0 1 368.6952 659.88 cm 
0 0 m 
0 -631.44 l 
S 
Q 
q 1 0 0 1 561.25 538.4 cm 
0 0 m 
0 -509.96 l 
S 
Q

Thanks,
Darren

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.