Creating PDF's

  •  10-04-2007, 9:31 AM

    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
View Complete Thread