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.
Unfortunately, activation email could not send to your email. Please try again.

Fit All Columns on One Page

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 09:05 AM

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 09:10 AM

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.

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.

;