my problem is the html data need to convert pdf. i was tried the code but it is showing error plz help me . below code is there.
RichEditDocumentServer srv = new RichEditDocumentServer();
srv .LoadDocument("<html>fdhsdfd dshdsfgds</html>");
using(Stream str= File.Create(@"D:test.pdf"))
{
srv .ExportToPdf(str);
}
Process.Start(@"D:test.pdf");