Nevron Forum

TableShape Cell vertical resize

https://www.nevron.com/Forum/Topic8917.aspx

By Andrea Piazza - Thursday, January 29, 2015

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 - Wednesday, April 8, 2015

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";