View previous topic :: View next topic |
Author |
Message |
ldelabre
Joined: 12 Apr 2008 Posts: 10
|
Posted: 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. |
|
Back to top |
|
|
Thomas Hoevel
Joined: 16 Oct 2006 Posts: 387 Location: Cologne, Germany
|
Posted: 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 _________________ Regards
Thomas Hoevel
PDFsharp Team |
|
Back to top |
|
|
ldelabre
Joined: 12 Apr 2008 Posts: 10
|
Posted: Thu Apr 17, 2008 5:40 pm Post subject: |
|
|
Thank you |
|
Back to top |
|
|
|