We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Issue with background image width when save a RDLC-Report as PDF

Thread ID:





141845 Jan 7,2019 10:35 PM UTC Jan 8,2019 07:27 AM UTC WPF 1
Tags: ReportWriter
Dominik Amann
Asked On January 7, 2019 10:35 PM UTC


i created a RDLC-Report. The report will be shown as expected in the report viewer.
But when i export the report as PDF (with ReportWriter or ReportViewer) the width of the background images are not correct.

Version: 15.3460.0.26


         ReportWriter writer = new ReportWriter();
            writer.ReportProcessingMode = ProcessingMode.Local;
            writer.PageSettings = new PageSettings();
            writer.PageSettings.TopMargin = 0;
            writer.PageSettings.LeftMargin = 0;
            writer.PageSettings.RightMargin = 0;
            writer.PageSettings.BottomMargin = 0;
            writer.Save(path, WriterFormat.PDF);

Thank you very much!

Attachment: issu_88b298b6.zip

Mageshyadav M [Syncfusion]
Replied On January 8, 2019 07:27 AM UTC

Hi Dominik, 
Thanks for your interest in our Syncfusion products. 
In Syncfusion Report Viewer, white spaces will be preserved in the report body by default. When the white space extends the body size or beyond the width of the report during design then that extra spaces will be loaded in report preview. So can you please adjust your margins, page width and body width as shown in below snap to avoid the mentioned extra spaces issue at your end. 
Body Width: 
Page Width and Margin: 
Output snap: 
Please find the below documentation link for your reference. 
If the issue still persists, then can you please share your RDLC file to validate the mentioned problem at our end. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon