In an earlier post I described how to improve the XTextFormatter class for PDFsharp 1.32. The problem with that old version: the modified version of XTextFormatter has to be in an assembly with access to the internals of PDFsharp, so you have to compile PDFsharp in order to have an enhanced formatter.

With PDFsharp 1.50 beta things are simpler: all the XTextFormatter class needs is public now and you can use an enhanced version of XTextFormatter even if you are working with the NuGet package of PDFsharp.

Not many Visual Basic samples come with PDFsharp and MigraDoc. As the name PDFsharp implies, those libraries were developed by C# fans.
Here is a Visual Basic sample for MigraDoc. It should be enough to help you understand the C# samples for MigraDoc and translate them to Visual Basic when needed. Continue reading MigraDoc: Visual Basic .NET Sample

Let’s face it: as of today it sometimes takes a few seconds to create a PDF for a MigraDoc document, especially if the document contains many tables.
A nice progress bar will prevent users from pressing Ctrl+Alt+Del to kill a presumably hung application. I’ll show you how this can be done. Continue reading MigraDoc: Show Progress While Rendering a Document