After loading an RTF file including a table, using TRichView.LoadRTF and TRichView.Format, the widths of the different cells are adapted to their contents.
What is to be done so that these cell widths remain as defined in the file?
LoadRTF cell width
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
In the current version of TRichView, the component does not support calculation of text width to fit content (only minimal possible width of content is taken into account). This is may be the reason of the difference.
Also, TRichView uses "BestWidth" of all cells into account. MS Word, in some cases, uses only properties of first rows.
Also, TRichView uses "BestWidth" of all cells into account. MS Word, in some cases, uses only properties of first rows.