Profile Picture

TableShape Cell vertical resize

Posted By Andrea Piazza 9 Years Ago
Author
Message
Andrea Piazza
Question Posted 9 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 8, Visits: 19
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

Nevron Support
Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
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";



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic