Is it possible to set a table cell some text that contains new line characters and have the cell display with text wrapping around the new line characters?
Hello Damien,
Thanks for considering Aspose.
I am sorry to inform you that text wrapping around using new line characters is not supported in table cell. As a way around, you can set the value for Table.ColumnWidths = "70 2cm"
; in this case, when the text reaches the width of the table, it will be wrapped automatically. I will also consult with other developers and will try to find a solution to this problem. Sorry for the inconvenience.
For informational purposes, you may consult the following links:
- [Set Width and Span of the Column] (Aspose.Total Product Family)
- Table Class]
Hello Damien,
Thanks for your patience. I have dicussed with developers and found that Call can contain text with new line characters. Either of these two can be used for text wrapping #$NL or \r\n.
If we use "This is the first #$NL line and from here \r\n Third line starts" it will be displayed as
This is the first
line and from here
Thrid line starts