How to set row size of to fit to the content of each cell

I have html table calendar, i am inserting form fields on each cell of the calendar upon processing.


My problem is, the output pdf calendar has expanded rows, how to resize the row size? or make it shrink depending on the content?

I am attaching a stand alone web app.

Hi there,

Thanks for your inquiry. Please read following documentation link for your kind reference. Hope this helps you.
http://www.aspose.com/docs/display/wordsnet/Specifying+Table+and+Cell+Widths

If you still face problem, please share your expected output document here for our reference. We will then provide you more information about your query along with code.