kc2scy,

kc2scy wrote
> Once I find my image is there anyway to stop the rendering? example if I
> had 10 images on a page and the first image is the one I need, I don't
> want to loop through the other nine images?

I would try throwing some RuntimeException, Error, or other Throwable, and
catching it outside the rendering.

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Get-image-by-location-tp4660544p4660550.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
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