[iText-questions] Images with i text
I have a ASP script that pulls images from a url path from the SQL server and places the images on a page, They consisantly change. how do I get itext to recoginise the image as a url path ? instead of a server.mappath so it pulls the image into the PFD ??? System Scaned By Barracuda ANTI(Spam,Virus,Spoof) Keeping Mail Safe One Message @ a Time ! -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book Blueprint to a Billion shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions 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
Re: [iText-questions] Images with i text
On 4/11/2010 12:55, Joe Simas wrote: I have a ASP script that pulls images from a url path from the SQL server and places the images on a page, They consisantly change. how do I get itext to recoginise the image as a url path ? instead of a server.mappath so it pulls the image into the PDF ??? There's a getInstance() method that takes an URL as parameter. You can also use this method for URLs with a file: protocol. In this case you want a http: or https: protocol. http://api.itextpdf.com/com/itextpdf/text/Image.html#Image%28java.net.URL%29 -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book Blueprint to a Billion shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions 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