Image Stretch

Stimulsoft Reports.Net discussion
Lech Kulikowski
Posts: 1871
Joined: Tue Mar 20, 2018 5:34 am

Re: Image Stretch

Post by Lech Kulikowski » Wed May 29, 2019 7:53 pm

Hello,

There are several ways to fix it in your project.
- place images in the project folder and use:
report.Dictionary.Variables["SystemPath"].Value = "";

- set one of the next properties:
!imageComponent.Stretch || imageComponent.AspectRatio == true || imageComponent.ImageRotation != StiImageRotation.None

- load images in the GetImageData event with the following script:
(sender as StiImage).ImageBytes = System.IO.File.ReadAllBytes(SystemPath+DataSource.Column);

Thank you.
ibrahim
Posts: 17
Joined: Tue Apr 09, 2019 6:31 am

Re: Image Stretch

Post by ibrahim » Thu May 30, 2019 9:57 am

Hello Lech Kulikowski,
Thanks your very much its work , but there is problem in the size of image when active AspectRatio the image show very small, not as the image properties , I try to active can grow but the image become to large
this is the image when run the project:
https://drive.google.com/open?id=1yEeC2 ... 5SxMXL-YBY
this is the image propriety
https://drive.google.com/open?id=173jXR ... 5kULi6r1DZ
ibrahim
Posts: 17
Joined: Tue Apr 09, 2019 6:31 am

Re: Image Stretch

Post by ibrahim » Sun Jun 02, 2019 8:52 am

Hello Lech Kulikowski,
Thanks your very much its work , but there is problem in the size of image when active AspectRatio the image show very small, not as the image properties , I try to active can grow but the image become to large
this is the image when run the project:
https://drive.google.com/open?id=1yEeC2 ... 5SxMXL-YBY
this is the image propriety
https://drive.google.com/open?id=173jXR ... 5kULi6r1DZ
Lech Kulikowski
Posts: 1871
Joined: Tue Mar 20, 2018 5:34 am

Re: Image Stretch

Post by Lech Kulikowski » Sun Jun 02, 2019 8:07 pm

Hello,

Sorry, maybe we did not exactly understand your issue. Which result do you need?
Also, please send us your image for analysis.

Thank you.
ibrahim
Posts: 17
Joined: Tue Apr 09, 2019 6:31 am

Re: Image Stretch

Post by ibrahim » Mon Jun 03, 2019 8:22 am

Hello,
The problem is in size of image when Active Aspect-ratio ,the image show very small
this is the image when run the project:
Image
this is the image propriety
Image
Lech Kulikowski
Posts: 1871
Joined: Tue Mar 20, 2018 5:34 am

Re: Image Stretch

Post by Lech Kulikowski » Tue Jun 04, 2019 9:19 pm

Hello,

Please upload your files again.

Thank you.
ibrahim
Posts: 17
Joined: Tue Apr 09, 2019 6:31 am

Re: Image Stretch

Post by ibrahim » Mon Jun 10, 2019 5:54 am

Hello,
this are the Images again
Image
Image
Lech Kulikowski
Posts: 1871
Joined: Tue Mar 20, 2018 5:34 am

Re: Image Stretch

Post by Lech Kulikowski » Mon Jun 10, 2019 9:02 am

Hello,

Please send us your original images which used in the report for analysis.

Thank you.
ibrahim
Posts: 17
Joined: Tue Apr 09, 2019 6:31 am

Re: Image Stretch

Post by ibrahim » Mon Jun 10, 2019 12:16 pm

Hello,

Thanks yours for the replay, I solve the problem by increase the picture size
Lech Kulikowski
Posts: 1871
Joined: Tue Mar 20, 2018 5:34 am

Re: Image Stretch

Post by Lech Kulikowski » Mon Jun 10, 2019 1:01 pm

Hello

We are always glad to help you!

Thank you.
Post Reply