ArrayList htmlelement = HTMLWorker.ParseToList(new StringReader(content), null); foreach (ArrayList htmlElement in htmlelement) Document.Add(htmlElement as IElement);
Unable to cast object of type 'iTextSharp.text.pdf.PdfPTable' to type 'System.Collections.ArrayList'.
var htmlelement = HTMLWorker.ParseToList(new StringReader(content), null); foreach (var htmlElement in htmlelement) Document.Add(htmlElement as IElement);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)