So far using dynamic tables is great when we tie it with returned rows from a SQL query. I have a problem when a long string of text is being placed into a table though. Here’s the text:
For some reason, the dynamic table won’t grow downwards to accommodate the size of the text. Is there a setting I need to turn on with the Document builder object I’m currently using?
Thank you for your interest in Aspose.Words. You should specify width of cell and set FitText property to true. For example see the following code.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.CellFormat.Width = 100;
builder.CellFormat.FitText = true;
I hope that this will help you to solve your problem.