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
Starting in 2019, the Reporting control is no longer included in Essential Studio. If you're experiencing issues with the Syncfusion Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.

Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.

We thank you for choosing Syncfusion and appreciate your understanding.

Export PDF Report in landscape mode

Hello, 


I am encountering an issue while exporting the PDF from the PdfViewer in Syncfusion. When the PDF is exported, the layout of the page breaks. However, one possible solution to alleviate this issue is to export the PDF in landscape mode. Could anyone please clarify or suggest which settings to add to allow the export of the PDF to landscape mode ?  Thank you. 

Best Regards.

8 Replies

AA Akshaya Arivoli Syncfusion Team November 25, 2019 10:17 AM UTC

Hi Arcania, 

Thank you for contacting Syncfusion support. 

We are unable to get your requirement with the provided details, can you please confirm us whether you are facing issue while Printing/Downloading the landscape PDF document from the PDF Viewer. Also can you please more details about your requirement, use case scenario, error details if any , screen shots and the PDF document. These details will be helpful for us to investigate further and assist you better. 

However, we have created simple PDF Viewer sample and shared the same in the following link, 


PDF Viewer getting started UG link, 


Please try this and revert us with more details if you have any concerns. 

Regards, 
Akshaya 



SA Support Arcania December 3, 2019 05:50 AM UTC

Hi Aksharay, 

I have the used the following codes to initialize the report viewer in syncfusion:

    $("#viewer").ejReportViewer({
                reportServiceUrl: "/api/ApiController/Report",
                reportPath: '~/App_Data/GroupingAggregate.rdlc',
                processingMode: ej.ReportViewer.ProcessingMode.Local,
                dataSources: [
                    {
                        value: @Html.Raw(Json.Encode(Model.UserList)),

                        name: "Sales"
                    }
                ],
            });

The output is as follows (See attached image). 

When I click the Export button from the toolbar, the PDF is downloaded. However, the content of the PDF is distorted (the table is spread over two pages instead on a single page - landscape mode). I want to the downloaded PDF to be in landscape mode directly. I have also adjusted the page setup by setting the Orientation to Landscape but no effect. Can you please help? 
                                                                                     



VS Vinoth Srinivasan Syncfusion Team December 4, 2019 01:27 PM UTC

Hi Arcania,  

If your requirement is to export the report in Landscape mode, then you need to set the page orientation as “Landscape” at report design level from Report Properties. If you still face any issue, then share your RDLC report with us to validate the problem at our end. 

Regards, 
Vinoth S. 



SA Support Arcania replied to Vinoth Srinivasan December 10, 2019 05:06 AM UTC

Hi Arcania,  

If your requirement is to export the report in Landscape mode, then you need to set the page orientation as “Landscape” at report design level from Report Properties. If you still face any issue, then share your RDLC report with us to validate the problem at our end. 

Regards, 
Vinoth S. 


Hello Vinoth, 

I tried to set the page orientation to Landscape, but the report still being exported to Portrait mode. The RDLC report that I have used can be found here
:  https://pastebin.com/v40xyRVj

Best Regards.


VS Vinoth Srinivasan Syncfusion Team December 10, 2019 06:37 AM UTC

Hi Arcania, 

We have validated your shared report and in that the page orientation is specified as Portrait only, so we have modified the page orientation as Landscape and it has been exporting properly as PDF in Landscape. Please find the modified report from the below location. 


If you still face any issue, then please share the Syncfusion product version you are using with us for further validation. 

Regards, 
Vinoth S. 



SA Support Arcania January 13, 2020 07:38 AM UTC

Dear Vinoth, 

My syncfusion product version is 16.4.0.52. The issue persists on this version.


SA Support Arcania replied to Vinoth Srinivasan January 13, 2020 09:41 AM UTC

Hi Arcania, 

We have validated your shared report and in that the page orientation is specified as Portrait only, so we have modified the page orientation as Landscape and it has been exporting properly as PDF in Landscape. Please find the modified report from the below location. 


If you still face any issue, then please share the Syncfusion product version you are using with us for further validation. 

Regards, 
Vinoth S. 


Hello, 

Can you tell which settings you have changed in the rdlc file that you sent ? 

Best


VS Vinoth Srinivasan Syncfusion Team January 13, 2020 11:42 AM UTC

Hi Arcania, 

We need to set the landscape for the report from page settings in design level using Visual studio. Please find the below steps for how to set the landscape at design level. 
Step 1: Open the RDLC report in Visual studio 
Step 2: Click the report outside and choose the report properties as shown in below snap. 

 
Step 3: Set landscape for report as shown in below snap. 
 
 
Also, we have validated this report with 16.4.0.52 version and it has been exporting properly. 
 
Regards, 
Vinoth S. 


Loader.
Live Chat Icon For mobile
Up arrow icon