locked
How can i add Html table rowspan using itextsharp HTMLWorker in c# RRS feed

  • Question

  • I am using itextsharp version 4.0.4.0 

    In my case i am taking HTML string and showing it in pdf using HTMLWorker.

    But the table rowspan not working in pdf.

    The HTML string is as follows :

    <table border="1" cellpadding="1" cellspacing="1" style="width:500px">
    <tbody>
    <tr>
    <td rowspan="4" style="width:200px">Title</td>
    <td style="width:200px">SubTitle1</td>
    <td style="width:200px">&nbsp;</td>
    <td style="width:200px">&nbsp;</td>
    </tr>
    <tr>
    <td>SubTitle2</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>SubTitle3</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>SubTitle4</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    </tbody>
    </table>

    • Moved by Caillen Friday, September 26, 2014 9:54 AM
    Thursday, September 25, 2014 11:28 AM

Answers

  • Hello,

    As iTextSharp is not a Microsoft product, I recommend that you post your question in their official forum for help:

    http://support.itextpdf.com/forum/

    Thanks for your understanding.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Just Karl Monday, September 29, 2014 10:43 PM
    • Marked as answer by Just Karl Friday, October 17, 2014 9:20 PM
    Friday, September 26, 2014 9:54 AM

All replies

  • Hello,

    As iTextSharp is not a Microsoft product, I recommend that you post your question in their official forum for help:

    http://support.itextpdf.com/forum/

    Thanks for your understanding.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Just Karl Monday, September 29, 2014 10:43 PM
    • Marked as answer by Just Karl Friday, October 17, 2014 9:20 PM
    Friday, September 26, 2014 9:54 AM
  • Hello,

    In addition to Caillen's suggestion, you could ask in Microsoft's ASP.Net forums:

    http://forums.asp.net/

    As Microsoft's ASP.Net forums are on a different platform, we cannot move the question for you.

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

    Monday, September 29, 2014 10:44 PM