This is a migrated thread and some comments may be shown as answers.

Table-row-height in Word

1 Answer 126 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Rieni De Rijke
Top achievements
Rank 1
Rieni De Rijke asked on 13 Feb 2012, 02:27 PM
I use the RadTextBox. I start with a new document and I insert a table (3 rows, 2 cells pr row).
The font in the cells is Calibri 11.
The document is saved as 'Test.docx'.

Now I open the same file/document in Word. The height of all the rows is now doubled.
The font in the cells is Verdana 12.

Now I save the document in Word as Test2.docx.
I close Word and open the file in RichTextBox-editor.
The height of the rows is not doubled any longer, but the font is still Verdana 12.


1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 16 Feb 2012, 01:12 PM
Hi Rieni,

Currently it is not possible to set the font size and font family of the text in an empty table cell.

We have logged this issue for future implementation. It has not been scheduled yet, so the time frame of its implementation is not certain yet.

If you find using styles a viable solution instead of using local values for the FontFamily and FontStyle, you can create a Table style, based on the default style TableGrid and apply it to the table. Then, the font family and font size will be set to the respective table and will be persisted on export/import.

Regards,
Iva Toteva
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
RichTextBox
Asked by
Rieni De Rijke
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or