LoadRTF cell width

General TRichView support forum. Please post your questions here
Post Reply
angleitner
Posts: 2
Joined: Tue May 31, 2016 10:18 am

LoadRTF cell width

Post by angleitner »

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?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

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.
Post Reply