Print PDF

Is there any example to show how GoWPF print content to PDF?
If it does, can it print international characters to PDF?


Unlike GoDiagram, there is no “render-to-PDF” facility in GoXam. The primary reason is that each Node and Link can have arbitrarily complicated controls in them. They might even be animated. We have no way to render those using vector drawings.

In WPF I suppose there might be an ability to somehow get a bitmap image of arbitrary controls within each Node. You could then include that in what is rendered to PDF. That would be at the loss of some sharpness when printed.

What you could do now is call DiagramPanel.MakeBitmap and put that into a PDF file. But that would definitely be at the loss of precision/resolution from not using vector graphics.