cell.PreferredWidth = new TableWidthUnit(TableWidthUnitType.Percent, 15);
paragraph = cell.Blocks.AddParagraph();
run = paragraph.Inlines.AddRun();
run.Text = "Text in cell text in cell text in cell";
3 Answers, 1 is accepted
answered on 03 May 2017, 08:25 AM
The vertical alignment property is not supported when exporting RadFlowDocument do PDF. If this is your case, you can vote for an implementation as well as track the status of the task using the related public item.
The property should be properly applied if you are using one of the other supported document formats. In case you are experiencing an issue in such a scenario, please send us more information on how we could reproduce it on our end.
Yes, the vertical alignment is not supported only when exporting to PDF. For generating DOCX documents, you shouldn't experience any issues.
I am not sure I completely understand your scenario and what is the issue you are observing. The document from the image you shared seems to have the vertical alignment of the cell properly applied. Isn't it?
I am sending you a sample project showing how you can generate a sample DOCX document with a table containing only a single cell with VerticalAlignment=Center.