Fernando Fernando - 1 month ago 4
ASP.NET (C#) Question

How to set the cell width in itextsharp pdf creation

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 message.


width can not be set.


What should I do?..

Answer

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 };
Comments