Resolution of the Watermark

Stimulsoft Reports.NET discussion
Post Reply
Sigmund
Posts: 5
Joined: Mon Oct 28, 2024 2:42 pm

Resolution of the Watermark

Post by Sigmund »

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.
Lech Kulikowski
Posts: 7655
Joined: Tue Mar 20, 2018 5:34 am

Re: Resolution of the Watermark

Post by Lech Kulikowski »

Hello,

It should work the same in different systems.

Please try to check the last release build.

Thank you.
Sigmund
Posts: 5
Joined: Mon Oct 28, 2024 2:42 pm

Re: Resolution of the Watermark

Post by Sigmund »

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
Attachments
AB-2026-00055 backend printed gdi on dev machine.pdf
(212.91 KiB) Downloaded 5 times
AB-2026-00055 frontend printed.pdf
(176.04 KiB) Downloaded 5 times
AB-2026-00055 backend printed gdi.pdf
(157.43 KiB) Downloaded 5 times
Sigmund
Posts: 5
Joined: Mon Oct 28, 2024 2:42 pm

Re: Resolution of the Watermark

Post by Sigmund »

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");
	}
}
Update: seems not to be related to the version change of Stimulsoft it was working for some days. I also tried it with 2024.2.4. It have the same Problem. We also not changed our software, when it started to went wrong.
Attachments
AB from prod machine.pdf
(163.53 KiB) Downloaded 4 times
AB from dev machine.pdf
(219.02 KiB) Downloaded 4 times
AB.mrt
(456.85 KiB) Downloaded 4 times
Post Reply