IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Image AutoZoom
stefanfink
post Jun 11 2018, 03:10 AM
Post #1


Newbie
*

Group: Members
Posts: 2
Joined: 11-June 18
Member No.: 64679



Hallo,
i have create a fastreport report on windows with FastReport.NET. The same Report does work on FastReport.Mono because of Image AutoZoom is not working. i search i the source code and found

src/FastReport.Mono/PictureObject.cs

case PictureBoxSizeMode.Zoom:
/*float kx = drawRect.Width / imageWidth;
float ky = drawRect.Height / imageHeight;
if (kx < ky)
rect.Height = imageHeight * kx;
else
rect.Width = imageWidth * ky;
rect.Offset(
(Width * e.ScaleX - rect.Width) / 2,
(Height * e.ScaleY - rect.Height) / 2);*/
break;

i have remove the block comment, recompile and all works.
Go to the top of the page
 
+Quote Post
stefanfink
post Aug 15 2018, 11:47 PM
Post #2


Newbie
*

Group: Members
Posts: 2
Joined: 11-June 18
Member No.: 64679



Hallo,
I have found a bug in your code (not my code)! Have anyone interrest in this ?????? That is really bad.
Go to the top of the page
 
+Quote Post
Polomint
post Aug 16 2018, 10:31 PM
Post #3


Advanced Member
***

Group: Members
Posts: 260
Joined: 17-October 13
From: Australia
Member No.: 58926



If you believe you have found a bug in the Product, you should raise a Support Ticket, providing as much supporting information as possible.

https://support.fast-report.com/users/sign_in

Ideally you should create a minimal example that clearly replicates the problem.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Time is now: 20th June 2019 - 01:02 PM