error in creating PDF

Last post 11-12-2007, 2:25 AM by anigopal. 2 replies.
Sort Posts: Previous Next
  •  11-07-2007, 9:38 AM 34876

    error in creating PDF

     
     
    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
     
     
  •  11-12-2007, 1:09 AM 34979 in reply to 34876

    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
     
     
  •  11-12-2007, 2:25 AM 34980 in reply to 34979

    Re: error in creating PDF

    Hi all ,
     
    Can I have an update on this issue?
     
    Regards,
    Ani Gopal
View as RSS news feed in XML