error in PDf creation

  •  11-14-2007, 7:24 AM

    error in PDf creation

    Hi,
     
    We are using CuteEditor 6.0  in a we application.We are trying to create a PDF out of the content of the Editor using the following code.

    CuteEditor.Convertor.PDF.HTML2PDF htmlpdfconver = new CuteEditor.Convertor.PDF.HTML2PDF(Editor1.Text);

    htmlpdfconver.Render();

    string path = Server.MapPath("~/New Folder/")+"article.pdf";

    htmlpdfconver.Save(path);
     
     
    But, we are getting one exception

    Length cannot be less than zero.

    Parameter name: length
     
     
    Please help us to resolve this
     
    Thanks and Regards
    Ani Gopal
     
View Complete Thread