Creating PDF's

Last post 10-07-2008, 10:52 PM by nelittle. 2 replies.
Sort Posts: Previous Next
  •  10-04-2007, 9:31 AM 34015

    Creating PDF's

     

    The issues we have are:

    1. We use cute's component to create PDF file:

        objHtmlToPDF = new CuteEditor.Convertor.PDF.HTML2PDF(strViewDocData)

        objHtmlToPDF.Render()

        objHtmlToPDF.Save(strViewFileName)

    where strViewDocData is a string of HTML code.  

    The component creates a PDF file successfully, but when we look at the PDF's file property, the page size is 8.22 x 18.5 in, therefore when we print it will not print everything in the file. The question we have is can the component create the page with standard size like 8.5 x 11 in?
    Issue #2
     
    2. If the input HTML string contains table and sub-tables, the display on the PDF file does not show sub-tables format correctly.
    Thanks for your help
  •  10-08-2007, 3:16 PM 34110 in reply to 34015

    Re: Creating PDF's

    MikebOA,
     
    A1:
     
    Please use the following to set page width and height:
     
    HTML2PDF html2pdf = new HTML2PDF(html);
    html2pdf.RenderSinglePageContent = false;
    html2pdf.PageHeight = 500;
    html2pdf.Render();
    html2pdf.Save(FileName);
     
    A2:
     
    The current PDF can't process the complicated table. We are close to publish a new parser.

    Demo is here:
     
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  10-07-2008, 10:52 PM 44674 in reply to 34110

    Re: Creating PDF's

    Has this new parser been released?
     
    I am having issues with my tables running off the side of the PDF document (words/letters getting cut off the right edge) and cells overlapping each other. Is this release going to fix this?
View as RSS news feed in XML