I’m using Visual Developer 2010, MVC 3, c#. I’m trying to parse XML into an iTextSharp document like this:
ITextHandler textHandler = new ITextHandler(doc);
textHandler.Parse(xmldoc);
The error message says ITextHandler is not in this context. How can I make this work? Or is there another constructor that will do the same thing?
Here’s my list of using statements:
using System;
using System.IO;
using System.Text;
using System.Web;
using System.Web.Mvc;
using System.Xml;
using iTextSharp.text;
using iTextSharp.text.xml;
using iTextSharp.text.pdf;
Everything else seems to compile properly except for the ITextHandler line. Please help.