Click here to Skip to main content
15,912,493 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In pdfTable we use pdfTable1.WidthPercentage to set width of table like
CSS
pdfTable1.WidthPercentage = 60;


I know we can set height when adding Cell like
CSS
cell.FixedHeight = 50f;

but i want to do it with table,Can we do ? what is method for it?
Posted
Updated 28-Oct-15 20:35pm
v3

1 solution

If you do set the height to 200f and you cell within the table is of height 100f, what about the rest of the space ?
That's why the height of the table cannot be set, the height of the table is determined by the height of its cells, which you've already done.

Even HTML table doesn't allow you set the height.
Try google about this: set html table height, and it'll give suggestion about setting the cell height.

So, the short answer is: No, we cannot.

-KR
 
Share this answer
 
Comments
Member 11922776 29-Oct-15 5:02am    
Ok, thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900