Re: error in creating PDF

  •  11-12-2007, 1:09 AM

    Re: error in creating PDF

    anigopal:
     
     
    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