Profile Picture

TableShape Cell vertical resize

Posted By Andrea Piazza 5 Years Ago
Author
Message
Andrea Piazza
Question Posted 5 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: 5 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 5 Years Ago
View Quick Profile
Supreme Being

Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)

Group: Forum Members
Last Active: Yesterday @ 6:43 AM
Posts: 2,888, Visits: 3,074
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