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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Fit All Columns on One Page

Thread ID:

Created:

Updated:

Platform:

Replies:

103190 Apr 10,2012 08:25 AM UTC Apr 13,2012 01:10 PM UTC ASP.NET Web Forms (Classic) 2
loading
Tags: XlsIO
Janis
Asked On April 10, 2012 08:25 AM UTC

How to set "Page Setup" scaling property to "Fit All Columns on One Page" in code?
It`s possible set same property to "Fit Sheet on One Page".. ("currentSheet.PageSetup.IsFitToPage = true;")

I`m using Excel 2010




Manikandan M [Syncfusion]
Replied On April 13, 2012 01:05 PM UTC

Hi,

Thanks for using Syncfusion products.

We currently does not provide the support for setting "Fit All Columns on Page" in XlsIO. Please use the property "FitToPagesWide" of PageSetup to fit sheet on one page.

Code Snippet:
sheet.PageSetup.FitToPagesWide= 1;

Thanks,
Manikandan.M


Manikandan M [Syncfusion]
Replied On April 13, 2012 01:10 PM UTC

Hi Janis,

Please ignore our previous update.

Thanks for using Syncfusion products.

We currently does not provide the support for setting "Fit All Columns on Page" in XlsIO. Please use the property "FitToPagesWide" of PageSetup to fit sheet on one page.

Code Snippet:
sheet.PageSetup.FitToPagesWide= 1;

Thanks,
Manikandan.M



CONFIRMATION

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.

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

;