How to set the cell width in itextsharp pdf creation

后端 未结 4 1646
广开言路
广开言路 2020-12-18 23:35

How can I set cell width and height in itextsharp pdf cell ceration using c#. I just use

cell.width = 200f;

But it should display the error

4条回答
  •  一生所求
    2020-12-18 23:56

    http://indaravind.blogspot.in/2009/02/itextsharp-table-column-width.html

    VB:

    Dim intTblWidth() As Integer = {12, 10, 26, 10}
    

    C#:

    int[] intTblWidth = { 12, 10, 26, 10 };
    

提交回复
热议问题