PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
Display vertical text inside merged table cell http://forum.pdfsharp.com/viewtopic.php?f=2&t=371 |
Page 1 of 1 |
Author: | ldelabre [ Sat Apr 12, 2008 8:58 am ] |
Post subject: | Display vertical text inside merged table cell |
Hello everyone ! I'm try to display some text vertically inside merged table cell using Migradoc. I just started using the library and from what I understood (which might be wrong :p), I need to use a TextFrame in order to orient text vertically ? Here's what I tried : Code: cell = row.Cells[0];
cell.MergeDown = 17; TextFrame frame = cell.AddTextFrame(); frame.Orientation = TextOrientation.Vertical; frame.AddParagraph("This is a test"); Sadly, the TextFrame overlaps the following cells... I'm probably missing something here. Anyone can help, please? Thanks, Ludovic. |
Author: | Thomas Hoevel [ Mon Apr 14, 2008 8:52 am ] |
Post subject: | |
Hello! You should set Width and Height of the textframe (it is not automatically clipped to its parent). HTH |
Author: | ldelabre [ Thu Apr 17, 2008 5:40 pm ] |
Post subject: | |
Thank you |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |