TableShape Cell vertical resize


https://www.nevron.com/Forum/Topic8917.aspx
Print Topic | Close Window

By Andrea Piazza - 9 Years Ago
Is possible to manage NTableShape so that the cells are auto-resized in height rather than in width?
Example: I want to write a long text into a "Table Shape Cell", the text has several carriage returns and many rows. I would like the cell being resized in height while maintaining a fixed width. Is it possible?

thank you
By Nevron Support - 9 Years Ago
Hi,

Currently table shape cells automatically size to the width of their text. However, if you want your text to span on multiple lines you san simply add new line literals in it - '\n' or Environment.NewLine. For example:

table[0, 0].Text = "Line 1\nLine 2";