|
In the PDFsharp API it is not possible to measure the height and width of a string, given that the string must be broken into lines to fit into a layout rectangle. This method shows one workaround. It gives the basic idea, and works very reliably where we used it, but it has some limitations, for instance that it ignores the maximum height given in the arguments and just reports the actual height for the full string.
|
|
Read more...
|