Newer version of XMLWorker has slightly changed API. You need to give a CssApplier to construct a HtmlPipelineContext. ( As the IDE already pointed out ..) Give it one.
As I directed you on my blog too, take a look in http://itextsharp.svn.sourceforge.net/viewvc/itextsharp/trunk/src/extras/itextsharp.xmlworker/iTextSharp/tool/xml/XMLWorkerHelper.cs?revision=357&view=markup Should give you thought and ideas enough on how to setup XMLWorker yourself. Thanks On 22/05/12 21:34, Hugh McLaughlin wrote: > Thanks Attila, > > Unless I'm mistaken, there really isn't a C# working example here. For > example, the documentation shows the formation of the HTMLPipeline as > such: > > Dim HtmlContext As HtmlPipelineContext = New HtmlPipelineContext > > However, when I use this code snippet, Intellisense in VS 2010 call for > an object > > Dim HtmlContext As HtmlPipelineContext = New > HtmlPipelineContext(iTextSharp.tool.xml.html.CssAppliers) > > So, I'm not exactly sure where to go with this. Any insight would be > appreciated. > > Hugh > > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Tuesday, May 22, 2012 3:16 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Need Help!!! iTextSharpHTML to PDF > > XML Demo: http://kuujinbo.info/cs/itext.aspx > > If your HTML is not correct before used it with XMLWorker you must > corrected it with SGML: > http://developer.mindtouch.com/SgmlReader > > Attila. > > > > ------------------------------------------------------------------------ > ------ -- Balder VC http://www.redlab.be/blog/ http://twitter.com/redlabbe ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ iText-questions mailing list [email protected] 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
