Fit to page difference after updating to new version
Posted: Fri Feb 06, 2026 1:20 pm
I updated the dlls from 2024.2 to 2026.1.2 and noticed the PDF rendering is not fitting to printable area anymore.
I use report.ExportDocument(Pdf, path/to/file.pdf, settings);
The settings are imageQuality=1 and imageResolutionMode=Auto
The pdf before had some margin even if we used all the page area.
Now the bowser's preview starts with fit to printable area enabled, but it doesn't fit.
If I change to another scale (for example to custom) and then back to fit to printable area it works fine, but I need to do this every time.
It changed something in the various versions? I didn't find anything related to this in the release notes.
Here is a template report which does the problem
I use report.ExportDocument(Pdf, path/to/file.pdf, settings);
The settings are imageQuality=1 and imageResolutionMode=Auto
The pdf before had some margin even if we used all the page area.
Now the bowser's preview starts with fit to printable area enabled, but it doesn't fit.
If I change to another scale (for example to custom) and then back to fit to printable area it works fine, but I need to do this every time.
It changed something in the various versions? I didn't find anything related to this in the release notes.
Here is a template report which does the problem