Add option to save as PDF


The Syncfusion PDF creator support XPS files:
Add a button to the lay-out screen to save to PDF


Paul Meems
January 4, 2018, 3:57 PM

Still issues with the pfd exporter.

The print layout:

The resulting pdf:

Sergei Leschinsky
December 11, 2015, 4:20 PM

I've committed another fix which scales charts for image export. As for the main issue we can report it to Syncfusion or use CutePDF.

Sergei Leschinsky
December 11, 2015, 4:11 PM

It seems that the problem is with Syncfusion's component, which our PDF export tool uses. I tried to generate XPS with regular print command and then to convert it with a simple code:

The result is attached:

. Pdf on the left doesn't place rotated text correctly, int the XPS all the text is placed ok. I attached the files as well:


CutePDF printer doesn't have problems with the same layout.

Sergei Leschinsky
December 11, 2015, 2:44 PM

The artifacts at the top left are chart labels which weren't rendered correctly (GDI failed to do the scaling for larger DPI). I rewrote the rendering routine with GDI+: MWGIS-27.

Paul Meems
November 10, 2015, 8:27 AM

I just quickly tested this new feature and it is very cool.
With my first attempt to export to a PDF I got a NullPointer Exception but with the second time I got a pdf file.
If you look at the exported png (

) and the exported pdf ((

) both made from the same layout you'll see several differences.
For example the lines of the north arrow are not very smooth in the pdf version. At the top-left some artifacts appear on the map.
The text in the textbox is cut off.




Paul Meems