TableShape Cell vertical resize


Author
Message
Andrea Piazza
Andrea Piazza
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
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.1K
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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic
1 active, 1 guest, 0 members, 0 anonymous
No members currently viewing this topic!

Login

Explore
Messages
Mentions
Search