Itextsharp Xmlworkerhelper And Images For Html To Pdf
Solution 1:
XML Worker isn't mentioned in the book, because the book was written in 2009 and the development on XML Worker started somewhere in 2011. Your question is very long, yet it is missing an important element: an HTML sample like the one's provided for the sandbox examples (which you don't mention). For instance: when the parse the thoreau.html example using ParseHtmlImagesLinksOops, we lose all images: thoreau_oops.pdf; when we use ParseHtmlImagesLinks, we use an ImageProvider
that makes sure we get the correct paths to the images and the result looks quite OK: thoreau.pdf (so do the links, by the way).
However, when I look at the actual requirement, I see that you want to create a letter with an image for letterhead. In that case, I would use page events to add company stationary to each page. How to do that is explained in the book.
Post a Comment for "Itextsharp Xmlworkerhelper And Images For Html To Pdf"