hi,
i have a problem with the pdf while writing html tags to the pdf. The problem i am getting
is it is writing the content to the pdf file but it is writing html tags also as string.
and the code and the pdf that i got i am sending you please give me the solution ASAP.
Code:
FileStream fs = new FileStream("c:/testing.pdf",FileMode.Create);
//Instantiate the Pdf instance and pass the file stream object to its constructor
Pdf pdf = new Pdf(fs);
//Add a section to the PDF document
Section sec1 = pdf.Sections.Add();
//Add 1000 text paragraphs to the section
Text t = new Text(info.ToString());
t.IsHtmlTagSupported=true;
sec1.AddParagraph(t);
//Close the Pdf. This method is used only for direct file mode
pdf.Close();
fs.Close();