I mean to say that I am passing in html so that itext can convert it into pdf.

Using reader As New StringReader(strHTML)
                            'XMLWorkerHelper.GetInstance().ParseXHtml(writer, 
doc, reader);
                            'doc.Add(New Paragraph(" "))

                            Using worker As New HTMLWorker(doc)
                                worker.Open()
                                worker.StartDocument()
                                worker.NewPage()

                                'worker.Parse(reader)
                                worker.SetStyleSheet(styles)
                                Dim ie As List(Of IElement) = 
HTMLWorker.ParseToList(reader, styles, Nothing)
                                For Each element As IElement In ie

                                    doc.Add(element)
                                Next


                                worker.EndDocument()
                                worker.Close()
                            End Using
                        End Using


Anyway I can drop a iTextSharp.text.Image in the html?


Anil George
Senior Web Developer
[cid:image001.png@01CE3C15.CDCC2150]HEALTHWORKS a division of
PASSPORTHEALTH
COMMUNICATIONS INC.
1265 Drummers La., Suite 202
Wayne, PA 19087

610-994-0302
610-354-0900 ext. 302 (Toll Free)
anil.geo...@passporthealth.com<mailto:anil.geo...@passporthealth.com>

http://www.passporthealth.com<http://www.passporthealth.com/>

CONFIDENTIALITY NOTICE: This e-mail communication and all attachments are for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information. Any unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended recipient, please 
contact the sender by replying to this e-mail message and delete all copies and 
attachments of the original message.

From: 1T3XT BVBA [mailto:i...@1t3xt.info]
Sent: Thursday, April 18, 2013 2:23 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] can iTextSharp.text.Image be placed in between 
external html tag

On 17/04/2013 22:38, Anil George wrote:
Hi everyone,
I was wondering if iTextSharp have the ability to put iTextSharp.text.Image 
between an external html tag like this:

iText has stopped generating HTML in 2009. We don't produce HTML anymore, only 
PDF.

<<inline: image001.png>>

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
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