Page 1 of 1

GetThumbnail exception 'ArgumentOutOfRangeException' Parameter 'width' is Zero

Posted: Fri Aug 12, 2022 9:53 pm
by Sherif Ahmed
Version: Stimulsoft.Reports.Web.NetCore 2022.3.4
AspNetCore 5.0.11

While trying to get the first page thumbnail:

Code: Select all

var reportPath = StiNetCoreHelper.MapPath(this, "Reports/TwoSimpleLists.mrt");
var report = new StiReport();
report.Load(reportPath);

var thumbnail = report.Pages[0].GetThumbnailAsBytes(100);
var thumbnail2 = report.Pages[0].GetThumbnail(100, 100, true);

Code: Select all

System.ArgumentOutOfRangeException: 'Parameter "width" (System.Single) must be greater than 0, was 0 (Parameter 'width')'

Re: GetThumbnail exception 'ArgumentOutOfRangeException' Parameter 'width' is Zero

Posted: Mon Aug 15, 2022 9:29 am
by Lech Kulikowski
Hello,

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

Thank you.
#7716

Re: GetThumbnail exception 'ArgumentOutOfRangeException' Parameter 'width' is Zero

Posted: Wed Aug 17, 2022 11:23 am
by Lech Kulikowski
Hello,

The issue is fixed. The fix will be available in the next release build.

Thank you.

Re: GetThumbnail exception 'ArgumentOutOfRangeException' Parameter 'width' is Zero

Posted: Wed Aug 17, 2022 11:26 am
by Sherif Ahmed
Hello,
When expected to be the next release?

Thank you

Re: GetThumbnail exception 'ArgumentOutOfRangeException' Parameter 'width' is Zero

Posted: Wed Aug 17, 2022 12:16 pm
by Lech Kulikowski
Hello,

In September.