aaronveach wrote:
I was trying to do the same thing hoping there would be some size stored for the row, but there isnt.
Size does not exist while you define the contents of a MigraDoc document. Size does not exist when you render to RTF.
Size does exist when you prepare a document for PDF because MigraDoc must do the linebreaks, pagebreaks, and the layout of the PDF pages.
Bold text can be wider than regular text.
Bold text can be wider than regular text.So to be on the safe side, calculated the width and height for all-bold cell texts or for the actual mix. If there is a gap because prediction failed, then there will be no overlapping as you fail to the safe side.
When you use MigraDoc to render just the header table, then you will have the exact space requirements. This could even be the simpler approach if the header table is somewhat complicated.