Page 1 of 2

Export to pdf images are displayed in original size

Posted: Wed Jan 28, 2015 4:59 pm
by vladimir.mirchevski
Hi,

We have the ultimate version of the package and on the version for Web we have some problems.

- We have some images in the reports with stretch property set. The images are displayed OK on the preview, but after Export to pdf they don't stretch and have the original size.

- Is it possible for more DataBands to stay on one page? We have some pages with more than one DataBand and there is a lot of empty space after each one.

- Is it possible to break a word in a cell?

This are problems on the Web. We are also using WinRT version and we tried using the same report for both Web and WinRT. The WinRT report doesn't have this problems.

Re: Export to pdf images are displayed in original size

Posted: Thu Jan 29, 2015 7:38 am
by HighAley
Hello.
vladimir.mirchevski wrote:We have the ultimate version of the package and on the version for Web we have some problems.

- We have some images in the reports with stretch property set. The images are displayed OK on the preview, but after Export to pdf they don't stretch and have the original size.
To answer the questions we need to know what component do you use and what version.
vladimir.mirchevski wrote:- Is it possible for more DataBands to stay on one page? We have some pages with more than one DataBand and there is a lot of empty space after each one.
Yes, you could use several DataBands on a page.
vladimir.mirchevski wrote:- Is it possible to break a word in a cell?

This are problems on the Web. We are also using WinRT version and we tried using the same report for both Web and WinRT. The WinRT report doesn't have this problems.
Could you describe this issue more detailed with samples?

Thank you.

Re: Export to pdf images are displayed in original size

Posted: Thu Jan 29, 2015 10:22 am
by vladimir.mirchevski
We use Stimulsoft Reports.Net Version: 2014.3.0 from 1 December 2014.

Re: Export to pdf images are displayed in original size

Posted: Thu Jan 29, 2015 1:48 pm
by HighAley
Hello.

To answer your questions we need to see a report template with sample data.
Please, send us as much information as possible. Follow the Preparing questions to Support service article.

Thank you.

Re: Export to pdf images are displayed in original size

Posted: Thu Jan 29, 2015 3:21 pm
by vladimir.mirchevski
1. Product Name

Stimulsoft Reports.Ultimate 2014.3

2. Using Component

This is the View in MVC:

Code: Select all

 @Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions()
                   {
                       Theme = StiTheme.Office2010,
                       ActionGetReportSnapshot = "GetReportSnapshot",
                       ActionViewerEvent = "ViewerEvent",
                       ActionPrintReport = "PrintReport",
                       ActionExportReport = "ExportReport",
                       ActionInteraction = "Interaction"
                   })
This is the code in C#:

Code: Select all

 public ActionResult GetReportSnapshot()
        {
            // Create the report object and load data from xml file
            StiReport report = new StiReport();
/////////////////////////////////////
            return StiMvcViewer.GetReportSnapshotResult(HttpContext, report);
        }


3. Version
Stimulsoft Reports.Net Version: 2014.3.0 from 1 December 2014

4. Operating System

Windows 8 64-bit system.

5. .NET Framework

.NET Framework 4.5

6. Sample Report

Re: Export to pdf images are displayed in original size

Posted: Fri Jan 30, 2015 10:18 am
by HighAley
Hello.

To set the strict cell size you should set option:

Code: Select all

StiOptions.Export.Html.UseStrictTableCellSize = true;
To answer the question about the free space between bands, we need to see a report template with sample data.

Thank you.

Re: Export to pdf images are displayed in original size

Posted: Wed Feb 11, 2015 4:52 pm
by vladimir.mirchevski
Here is the report template we are using and sample data in the ZIP file.

Re: Export to pdf images are displayed in original size

Posted: Thu Feb 12, 2015 10:47 am
by HighAley
Hello.

Sorry, we still could not reproduce the issue.
Could you send us a sample working project?

Thank you.

Re: Export to pdf images are displayed in original size

Posted: Fri Feb 13, 2015 10:29 am
by vladimir.mirchevski
You can see the problem with the images here. I used one of your sample projects and just added an image to the report. It works fine in the preview and exports for Word and Excel, but when I export it to PDF the image is shown in the original size.

Re: Export to pdf images are displayed in original size

Posted: Fri Feb 13, 2015 1:42 pm
by HighAley
Hello.

We could not reproduce the issue on our latest prerelease build.
Please, try to download the latest prerelease build that is available on our site and test it.

Thank you.