Resolution of the Watermark
Resolution of the Watermark
Hi,
we use the JS Report designer in our software to design reports. For sending emails, we use the dotnet to generate the report.
The watermark shows correctly in the JS Designer and the standalone designer.
When i generate the Report with the dotnet version on the production system the watermark is rendered bigger, so the right and bottom content are out of page. The same report works on my dev system.
Does the render resolution of the Watermerk comes from a Operating system setting? Can i set is to a constant?
I cannot provide an example.
we use the JS Report designer in our software to design reports. For sending emails, we use the dotnet to generate the report.
The watermark shows correctly in the JS Designer and the standalone designer.
When i generate the Report with the dotnet version on the production system the watermark is rendered bigger, so the right and bottom content are out of page. The same report works on my dev system.
Does the render resolution of the Watermerk comes from a Operating system setting? Can i set is to a constant?
I cannot provide an example.
-
Lech Kulikowski
- Posts: 7691
- Joined: Tue Mar 20, 2018 5:34 am
Re: Resolution of the Watermark
Hello,
It should work the same in different systems.
Please try to check the last release build.
Thank you.
It should work the same in different systems.
Please try to check the last release build.
Thank you.
Re: Resolution of the Watermark
I already installed the version 2026.1.3.
Render mode ImageSharp works fine. Gdi not.
Edit: i attached the two results. The frontend one look like expected. The backend one seems to have another resolution. (was printing fine with 2024.2.4)
Edit2: attached another file that one is printed on my laptop. Looks fine.
Production Machine: Microsoft Windows Server 2025 Standard 10.0.26100 Build 2610
Dev Machine: Microsoft Windows 11 Pro 10.0.26200 Build 26200
Render mode ImageSharp works fine. Gdi not.
Edit: i attached the two results. The frontend one look like expected. The backend one seems to have another resolution. (was printing fine with 2024.2.4)
Edit2: attached another file that one is printed on my laptop. Looks fine.
Production Machine: Microsoft Windows Server 2025 Standard 10.0.26100 Build 2610
Dev Machine: Microsoft Windows 11 Pro 10.0.26200 Build 26200
- Attachments
-
- AB-2026-00055 backend printed gdi on dev machine.pdf
- (212.91 KiB) Downloaded 21 times
-
- AB-2026-00055 frontend printed.pdf
- (176.04 KiB) Downloaded 19 times
-
- AB-2026-00055 backend printed gdi.pdf
- (157.43 KiB) Downloaded 15 times
Re: Resolution of the Watermark
Code: Select all
using Stimulsoft.Report;
using Stimulsoft.Drawing;
class Program
{
static void Main(string[] args)
{
Graphics.GraphicsEngine = GraphicsEngine.Gdi;
var report = new StiReport();
report.Load("AB.mrt");
report.Render(false);
report.ExportDocument(StiExportFormat.Pdf, "AB.pdf");
}
}
- Attachments
-
- AB from prod machine.pdf
- (163.53 KiB) Downloaded 14 times
-
- AB from dev machine.pdf
- (219.02 KiB) Downloaded 16 times
-
- AB.mrt
- (456.85 KiB) Downloaded 12 times
-
Lech Kulikowski
- Posts: 7691
- Joined: Tue Mar 20, 2018 5:34 am
Re: Resolution of the Watermark
Hello,
We need some additional time to investigate the issue, we will let you know about the result as soon as possible.
Thank you.
We need some additional time to investigate the issue, we will let you know about the result as soon as possible.
Thank you.
-
Lech Kulikowski
- Posts: 7691
- Joined: Tue Mar 20, 2018 5:34 am
Re: Resolution of the Watermark
Hello,
Please try to set the following option:
StiOptions.Print.FixImageScaling = true;
Also, try to use in the ExportDocument method with StiPdfExportSettings, in which set ImageResolutionMode=Auto
Thank you.
Please try to set the following option:
StiOptions.Print.FixImageScaling = true;
Also, try to use in the ExportDocument method with StiPdfExportSettings, in which set ImageResolutionMode=Auto
Thank you.
Re: Resolution of the Watermark
We did dotnet framework updates in the morning. The problem is fixed now.
-
Lech Kulikowski
- Posts: 7691
- Joined: Tue Mar 20, 2018 5:34 am
Re: Resolution of the Watermark
Hello,
Fine. Thank you for the information.
Fine. Thank you for the information.