Export to pdf images are displayed in original size
-
- Posts: 18
- Joined: Wed Jan 28, 2015 11:09 am
Export to pdf images are displayed in original size
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.
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
Hello.
Thank you.
To answer the questions we need to know what component do you use and what version.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.
Yes, you could use several DataBands on a page.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.
Could you describe this issue more detailed with samples?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.
Thank you.
-
- Posts: 18
- Joined: Wed Jan 28, 2015 11:09 am
Re: Export to pdf images are displayed in original size
We use Stimulsoft Reports.Net Version: 2014.3.0 from 1 December 2014.
- Attachments
-
- words in the cells don't break
- Untitled1.png (12.98 KiB) Viewed 3750 times
-
- Empty space between DataBands
- Untitled.png (28.95 KiB) Viewed 3750 times
Re: Export to pdf images are displayed in original size
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.
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.
-
- Posts: 18
- Joined: Wed Jan 28, 2015 11:09 am
Re: Export to pdf images are displayed in original size
1. Product Name
Stimulsoft Reports.Ultimate 2014.3
2. Using Component
This is the View in MVC:
This is the code in C#:
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
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"
})
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.
Re: Export to pdf images are displayed in original size
Hello.
To set the strict cell size you should set option:
To answer the question about the free space between bands, we need to see a report template with sample data.
Thank you.
To set the strict cell size you should set option:
Code: Select all
StiOptions.Export.Html.UseStrictTableCellSize = true;
Thank you.
-
- Posts: 18
- Joined: Wed Jan 28, 2015 11:09 am
Re: Export to pdf images are displayed in original size
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
Hello.
Sorry, we still could not reproduce the issue.
Could you send us a sample working project?
Thank you.
Sorry, we still could not reproduce the issue.
Could you send us a sample working project?
Thank you.
-
- Posts: 18
- Joined: Wed Jan 28, 2015 11:09 am
Re: Export to pdf images are displayed in original size
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
Re: Export to pdf images are displayed in original size
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.
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.