Export to pdf images are displayed in original size

Stimulsoft Ultimate discussion
vladimir.mirchevski
Posts: 18
Joined: Wed Jan 28, 2015 11:09 am

Export to pdf images are displayed in original size

Post 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.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to pdf images are displayed in original size

Post 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.
vladimir.mirchevski
Posts: 18
Joined: Wed Jan 28, 2015 11:09 am

Re: Export to pdf images are displayed in original size

Post by vladimir.mirchevski »

We use Stimulsoft Reports.Net Version: 2014.3.0 from 1 December 2014.
Attachments
words in the cells don't break
words in the cells don't break
Untitled1.png (12.98 KiB) Viewed 3750 times
Empty space between DataBands
Empty space between DataBands
Untitled.png (28.95 KiB) Viewed 3750 times
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to pdf images are displayed in original size

Post 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.
vladimir.mirchevski
Posts: 18
Joined: Wed Jan 28, 2015 11:09 am

Re: Export to pdf images are displayed in original size

Post 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
Last edited by vladimir.mirchevski on Fri Jan 30, 2015 3:18 pm, edited 1 time in total.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to pdf images are displayed in original size

Post 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.
vladimir.mirchevski
Posts: 18
Joined: Wed Jan 28, 2015 11:09 am

Re: Export to pdf images are displayed in original size

Post by vladimir.mirchevski »

Here is the report template we are using and sample data in the ZIP file.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to pdf images are displayed in original size

Post by HighAley »

Hello.

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

Thank you.
vladimir.mirchevski
Posts: 18
Joined: Wed Jan 28, 2015 11:09 am

Re: Export to pdf images are displayed in original size

Post 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.
Attachments
Using Business Objects, Razor.rar
(2.37 MiB) Downloaded 281 times
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to pdf images are displayed in original size

Post 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.
Post Reply