On 9/2/2013 12:22 PM, Balarka DSRK wrote: > I need to generate a pdf with an image. I have to get the image from a > website for which a login is required. I have the login details but i > dont see the option to send the login details in get instance method. > Is there an option to pass the login details and get the image from > the website to populate in the pdf.
First solve the problem without using iText. That is: establish a connection to the site that allows you to retrieve the bytes of the image (if I had to guess, I'd guess you'd need the URLConnection class to do this). Once you have the image bytes, use them to create an iText Image object. ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&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