|
PDFsharp - moved to http://forum.pdfsharp.net/ Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
|
Important Notice:
We regret to inform you that our free phpBB forum hosting service will be discontinued by the end of June 30, 2024.
If you wish to migrate to our paid hosting service, please contact billing@hostonnet.com.
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 |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|