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

Page setup settings only specifically in Spreadsheet (IWorksheet)

Thread ID:





146833 Aug 22,2019 06:11 AM UTC Aug 28,2019 01:54 PM UTC ASP.NET MVC 3
Tags: XlsIO
Vaibhav More
Asked On August 22, 2019 06:11 AM UTC

How to achieve a set of settings shown in the attachment?

The paper size was able to set successfully. But many settings were not available/ not known.
Also, looks like there is a difference in values set before margins in code and actual time printing.  ( Auto rounding: 0.76 to 0.8 and 1.94 to 1.9 )

Is it possible to set other settings provided in screenshot using IWorksheet?

Vinoth Kumar Sundara Moorthy [Syncfusion]
Replied On August 23, 2019 12:19 PM UTC

Hi Vaibhav, 
Thank you for contacting Syncfusion support. 
We have checked your reported requirement and we would like to let you know that we have provided the print option (Margins, Orientation, PageSize) in Import/Export support. We can able to Export / Import the spreadsheet with the provided options available in our PaperSettings. For more details refer the below UG links, 
Could you please check the above details and get back to us, if you need any further assistance on this? 
Vinoth Kumar S 

Vaibhav More
Replied On August 27, 2019 09:25 AM UTC

Thanks for the reply.

I am not making use Grid Spreadsheet.

Here, in the backend code excel sheet is generated manually using syncfusion functions and saved and downloaded.

There, I do not see more properties in Page setup. 
Property: IWorksheet.PageSetup

Please let me know if you need more information. 

Abirami Varadharajan [Syncfusion]
Replied On August 28, 2019 01:54 PM UTC

Hi Vaibhav, 

Please refer to below API reference for setting this scaling option.  
Please refer to below documentation to know more about Page Setup setting.  



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