PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
get location / height of a table / paragraphs on the page https://forum.pdfsharp.net/viewtopic.php?f=2&t=2857 |
Page 1 of 1 |
Author: | itz [ Mon Jul 07, 2014 3:30 pm ] |
Post subject: | get location / height of a table / paragraphs on the page |
Hi, I'm using the WPF-Version (1.32.3885.0) of Migradoc in a VB.net-project. It works very fine so far. Thanks for this great library! Now I will try some finishing for my output file. My pdf-Document contains paragraphs and 2 tables. The number of paragraphs is always the same but the number of rows in the first table differs. This table is followed by a statistic part of 8 paragraphs. I want this part kept together. Thats why I want to know the location of the bottom line of the table and the height of a paragraph in order to calculate, if the statistic part fits on the page. How can I get this information? The function MeasureString returns only the width of text objects. Is there a similar function to measure the height of objects? Thank you in advance for your help, Steffan |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |