Shadow effect is not rendering

Stimulsoft Reports.NET discussion
Post Reply
krzyl2
Posts: 7
Joined: Wed Apr 02, 2025 7:33 am

Shadow effect is not rendering

Post by krzyl2 »

Hi,
I have a problem with rendering shadow effects. It works correct on JS version, but .NET versions looks like is ignoring shadow effects.
I prepared 2 screenshots to show difference and sample console application that could help you in reproducing problem.
I use version 2025.3.1

Js vesrion working correctly:
shadowWorking.png
shadowWorking.png (26.04 KiB) Viewed 1913 times
.NET version:
shadowNotWorking.png
shadowNotWorking.png (4.66 KiB) Viewed 1913 times
Attachments
Program.zip
(2.36 KiB) Downloaded 51 times
Lech Kulikowski
Posts: 7354
Joined: Tue Mar 20, 2018 5:34 am

Re: Shadow effect is not rendering

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result as soon as possible.

Thank you.
#18005
Lech Kulikowski
Posts: 7354
Joined: Tue Mar 20, 2018 5:34 am

Re: Shadow effect is not rendering

Post by Lech Kulikowski »

Hello,

Shadows are only supported in html-div mode (technical limitations for Table).
In JS, the preview is in div mode by default, which is why it displays correctly.
You use default export settings, which are in Table mode. To fix this, add the following:
settings.ExportMode = StiHtmlExportMode.Div;

Thank you.
Post Reply