We are using Aspose Total for .Net in our web application to convert files(doc,excel etc) into PDF files.
Now our requirement is convert html to pdf.
We are using version 7.5.0.0 of Aspose.PDF to convert Inline HTML (generated as string at runtime) into PDF.
We have found some formatting issues while converting from inline html to pdf:
Here is the sample inline html used to reproduce the issues:
<table border='1' bordercolor='#cccccc' cellpadding='1' cellspacing='0' width='100%' >
<tr height='100' ALIGN='CENTER'>
<td width='20%'><b>Product Name</b></td>
<td width='80%'><b>Product Price</b></td>
</tr>
<tr>
<td>BlackBerry Bold 9000</td>
<td>$9000.00</td>
</tr>
<tr>
<td>BlackBerry 5000</td>
<td>$7000.00</td>
</tr>
<tr>
<td>Product2</td>
<td>$4000.00</td>
</tr>
</table>
Issue 1. border color(#cccccc) is not refecting in the pdf file.
Issue 2. height attribute in <tr> i.e table row is not working in the pdf file.
Issue 3. vertical align is also not working in the pdf file.
Issue 4. align='center' is not working in the pdf file.
Please find the attached files "HtmlTableInBrowser.png" & "Pdf Result.png" for your reference.
Could you please provide us the solution/workaround in order to resolves these mentioned issues asap?
Thanks & Regards
Vineet
Now our requirement is convert html to pdf.
We are using version 7.5.0.0 of Aspose.PDF to convert Inline HTML (generated as string at runtime) into PDF.
We have found some formatting issues while converting from inline html to pdf:
Here is the sample inline html used to reproduce the issues:
<table border='1' bordercolor='#cccccc' cellpadding='1' cellspacing='0' width='100%' >
<tr height='100' ALIGN='CENTER'>
<td width='20%'><b>Product Name</b></td>
<td width='80%'><b>Product Price</b></td>
</tr>
<tr>
<td>BlackBerry Bold 9000</td>
<td>$9000.00</td>
</tr>
<tr>
<td>BlackBerry 5000</td>
<td>$7000.00</td>
</tr>
<tr>
<td>Product2</td>
<td>$4000.00</td>
</tr>
</table>
Issue 1. border color(#cccccc) is not refecting in the pdf file.
Issue 2. height attribute in <tr> i.e table row is not working in the pdf file.
Issue 3. vertical align is also not working in the pdf file.
Issue 4. align='center' is not working in the pdf file.
Please find the attached files "HtmlTableInBrowser.png" & "Pdf Result.png" for your reference.
Could you please provide us the solution/workaround in order to resolves these mentioned issues asap?
Thanks & Regards
Vineet