PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
"Publishing Layout" Need http://forum.pdfsharp.com/viewtopic.php?f=2&t=1313 |
Page 1 of 1 |
Author: | henrylar [ Tue Aug 31, 2010 6:40 pm ] |
Post subject: | "Publishing Layout" Need |
Hello, I'm new to programming MigraDoc (in C#) but I love it, wirklich! I have a question about controlling the flow of "panels" on a page, similar to the layout of a newspaper page with variable "panel" sizes which include text content. A [very] rough depiction is included: Attachment: Example Page Flow.png [ 50.88 KiB | Viewed 5023 times ] I understand how to use textframes for absolute positioning. Is this what is recommended? Are there any examples anywhere for such positioning? Any help is appreciated. Thank you! Henry |
Author: | () => true [ Thu Sep 02, 2010 7:21 pm ] |
Post subject: | Re: "Publishing Layout" Need |
MigraDoc can do most things that Word can do - but it's not a DTP tool. I'm afraid there's no simple way to get what you want. As long as everything fits on one page, a MigraDoc table can be used to do the trick. |
Author: | henrylar [ Wed Oct 06, 2010 8:59 pm ] |
Post subject: | Re: "Publishing Layout" Need |
Unfortunately Öhmesh your answer is factually true. However, I have been able to create the look/feel I needed by overloading the RenderObject method so that a RenderInfo object is returned. Then, I interrogate the LayoutInfo.ContentArea properties from this returned object to obtain the exact location of the previously added object. From there I dynamically/absolutely position subsequent objects, creating exactly the type of page I need. Though...without full-blown "layout support". Many thanks to you all for creating/improving this codebase! Henry |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |