We are creating PDF documents on the fly from the database using PDFsharp.
I need to know the best way to calculate the height of the text area based on the font use
In .NET you can call Graphics.MeasureString to find out how large the drawn text is going to be.